I have a created a query from which I would like to extract data from a table. Once the query is run all table data should be cleared for another run. I don't know much about SQL. Can soneone help me please
Presumably you have created the query in the query grid?
If yes, look down towards the botton of this grid, you will see a row with "Criteria" against in
Move across, the columns, until you come to the column on which you want to apply the criteria, enter the criteria (eg = "A", < 5), depending on what your criteria is
Regards
Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now -
1) use a form for the User to Enter the Criteria, in the query grid, include the control of the form as the criteria (in form Forms"YourFormName!YourControlName
Not form must be open at time query runs
2), include the "Criteria" table in the query, and join the two tables on the criteria column
Regards
Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now -
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.