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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Viewing an SQL statement

Status
Not open for further replies.

Rohdem

Programmer
Sep 20, 2000
553
US
I have a sql string that I built in code. What I want to do is, using code, open the sql in datasheet view like it does when you click on the ! in the Access QBE. Is this possible?

Mike Rohde
rohdem@marshallengines.com
 
I'm thinking that a simple DoCmd.RunSQL("SQLstatement") might be of help.
 
I figured out what I needed. I used a querydef and then a docmd.openquery.

This saves my sql as a query and opens it.

Mike Rohde
rohdem@marshallengines.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top