Compartir a través de


AutoCompTable Property

Specifies the name and location of the table that stores the data used by a Textbox control to suggest values based on previously entered values.

Textbox.AutoCompTable [ = cValue]

Return Value

  • cValue
    Specifies the name and path to the table the supports displaying a list of previously used entries into a text box.

Remarks

Applies to: TextBox Control (Visual FoxPro)

The default location and name for this property is HOME(7) + “Autocomp.DBF”. If you enter a name for a table that does not exist, the table is created for you.

The following table describes the structure of the Auto Complete table.

Field name

Type (size)

Description

Source

C (20)

Source name of the Textbox control.

Data

C (254)

Data item to display.

Count

I

Number of times data item was selected.

Weight

I

Specifies value to use when AutoComplete is set to 4 (Custom).

Created

T

Timestamp when data item first created.

Updated

T

Timestamp when data item last updated.

User

M

Specifies user information.

See Also

Reference

TextBox Control (Visual FoxPro)

AutoCompTable Property

AutoCompSource Property

AutoComplete Property

Other Resources

Properties (Visual FoxPro)