Navigation: Ultimate Suite for PowerBuilder Help > Query Builder > Functions >

of_savequeryas

Send comments on this topic.

 

Description:

Used to save a query file (.qry) to a new file or an existing file that has already been loaded into the control.

Syntax:

of_savequeryas ()
of_savequeryas (string as_file)

Argument

Description

as_file

The path and file name of the file to save to.

Return Value:

If a file is passed in, the method will always return 1. If no file is passed in, the method will return 0 if the user canceled the FileSave dialog and return 1 if they picked a file.

Usage:

If no file is passed to the method, the control will display the FileSave dialog. The user will then have to pick a file to save to.


Copyright © 2021 Werysoft Inc.