Go into your query and select 'Select records'
If the date field in your file is named MyFileDate then use a selection of 'MyFileDate EQ :input' (notice the colon before my made up name of input)
On the Specify Dependent Value Qualifiers panel specify '1' (Query) and type in the name of your query
Save your query
Run your query using the STRQMQRY command. If your query is name MyQuery and the date you want to pass for record selection is '022608' use:
STRQMQRY QMQRY(MYQUERY) ALWQRYDFN(*YES) SETVAR((INPUT '022608'))
Last Wiki Answer Submitted: February 26, 2008 10:21 am by bvining6,055 pts.