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

of_openquery

Send comments on this topic.

 

Description:

Used to open a query file (.qry) that had previously been saved through the control. 

Syntax:

of_openquery ()
of_openquery (string as_file)

Argument

Description

as_file 

The path and file name of the file to open. 

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 FileOpen dialog and return 1 if they picked a file.

Usage:

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


Copyright © 2021 Werysoft Inc.