Storing a Query in a Record

M

Mark

Hi,

I am using Access XP.

If I store SQL text in a record how can I call the QBE grid from a text box
and save it back when the QBE grid is closed - like the Record Source
property on a form or report?

Many thanks for your help.
 
A

Adrian Jansen

You can read and write the SQL string of a query using

queryname.SQL

Also look in help under CreateQueryDef

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top