Partager via


_FoxTask System Variable

Specifies the name of the FOXTASK table that supports Visual FoxPro Task Manager.

_FoxTask [= cDBFFileName]

Parameters

  • cDBFFileName
    Specifies the name of the file to be used by the Visual FoxPro Editor and the Task List Manager to store Tasklist Shortcuts.

Remarks

By default, the file is named foxtask.dbf and stored in your Windows user application folder or HOME( ) location. The following table describes the structure of foxtask.dbf

Field Name

Type

Width

Description

UNIQUEID

C

10

Specifies the Visual FoxPro Unique ID

TIMESTAMP

N

10

Specifies the Visual FoxPro timestamp

FILENAME

M

4

Specifies file name

CLASS

M

4

Specifies the class name (.vcx, .scx)

METHOD

M

4

Method name (.vcx, .scx)

LINE

N

6

Specifies the line number

CONTENTS

M

4

Specifies the contents of the line

TYPE

C

1

"S" – for shortcut; others can be user-defined

DUEDATE

D

8

User-defined Date due

PRIORITY

N

1

Specifies a user-defined priority setting for the item

0 = low1 = medium2 = high

STATUS

N

1

Completion state of a task

0 = not completed1 = completed

You can specify a different name for the tasklist table by using the FoxTask property as in the following example:

Example

_FOXTASK = MyTasks.dbf

See Also

Reference

_TASKLIST System Variable

System Variables Overview

Other Resources

Language Reference (Visual FoxPro)