Xbasic

OBJECT.QUICK_EXPORT Function

Syntax

.Quick_export()

Description

Exports the selected records to Excel.

The <OBJECT>.QUICK_EXPORT() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.QUICK_EXPORT() method exports the currently selected records to Excel. Only the fields on the current form are exported. Alpha Anywhere automatically opens Excel and displays the exported records. If you want more control over the which fields and records are exported, define an Export operation.

Example

This script is attached to a button on a form. It exports the currently selected records to Excel :

topparent.quick_export()

Limitations

Desktop applications only.

See Also