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

Make table query

Status
Not open for further replies.

RPW1

Technical User
Jun 14, 2001
19
US
I want to create a make table Query which I need to use later with a series of queries and reports but want to create from an open form. I will place a command button to run the query on form.

SELECT * INTO temptable name
FROM "The tablename I want to copy is the value in a field "DE" on my open form "View";
 
Hi

Dim strSQL as String

strSQL = "SELECT * INTO temptable name
FROM " & Me.DE

DoCmd.RunSQL strSQL

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top