Xbasic

UI_PROMPT_NEW_TABLE Function

Syntax

Table_Name as C = ui_prompt_new_table([C default_name [,L warn ]])

Arguments

Table_Name

The name of the new table.

default_name

The default name to place into the Specify Table Name dialog box.

warn

Optional. Default = .F. .F. = Does not warn you if you will replace an existing table. .T. = Warns you if you will replace an existing table.

Description

The UI_PROMPT_NEW_TABLE() function displays the Specify Table Name dialog box, then returns the fully qualified name of the new table.

images/UI_PROMPT_NEW_TABLE.gif

Example

ui_prompt_new_table("Test", .t.)
= "C:\Databases\Expressions Test\Test.dbf"

Limitations

Desktop applications only.

See Also