IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    APP QUERY
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Jen
Gold member
Posted
How would I go about saving the results of an APP QUERY command into a text file?
 
Posts: 68 | Location: Springfield MA | Registered: May 07, 2003Reply With QuoteEdit or Delete MessageReport This Post
<Pietro De Santis>
Posted
Whcih APP Query would you like to have the results of?
 
Reply With QuoteEdit or Delete MessageReport This Post
Jen
Gold member
Posted Hide Post
APP QUERY appname

This lists the focexecs within the app
 
Posts: 68 | Location: Springfield MA | Registered: May 07, 2003Reply With QuoteEdit or Delete MessageReport This Post
<Pietro De Santis>
Posted
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.
 
Reply With QuoteEdit or Delete MessageReport This Post
Jen
Gold member
Posted Hide Post
Perfect, thanks Pietro!
 
Posts: 68 | Location: Springfield MA | Registered: May 07, 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    APP QUERY

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.