Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

View SQL SELECT statement from form click

Status
Not open for further replies.

JeffAlton

Programmer
Apr 19, 2003
42
0
0
US
I want to view the results of an SQL SELECT statement that is in the code section of a form. How do I do this?
 
Why not using a ListBox with your SQL instruction as RowSource ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
You can also paste the code into a query. Just switch to SQL view and paste the code.
 
..or for slightly more versitality, a subform with your SQL as RecordSource?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top