Focal Point
APP QUERY

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2431028331

January 04, 2005, 03:33 PM
Jen
APP QUERY
How would I go about saving the results of an APP QUERY command into a text file?
January 04, 2005, 04:06 PM
<Pietro De Santis>
Whcih APP Query would you like to have the results of?
January 04, 2005, 04:07 PM
Jen
APP QUERY appname

This lists the focexecs within the app
January 04, 2005, 04:29 PM
<Pietro De Santis>
Interesting, I never knew of this command.

According to
http://techsupport.informationbuilders.com/ibase/master...10/10da02.htm#10da13

The syntax is:

APP QUERY appname1 appname2 appname3 HOLD

So, here is an example:

APP HOLD TEST
APP QUERY TEST HOLD

Unfortunately, the resulting text file isn't pretty - one long row of data. So, as shown in the documentation, you should probably do a table or SQL Select request on the file to create a new file.

I should mention that the APP HOLD TEST command is to set WebFOCUS to save all HOLD files in the app TEST. focappq.ftm is the file created by the APP QUERY TEST HOLD command.
January 04, 2005, 06:24 PM
Jen
Perfect, thanks Pietro!