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 Chris Miller 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
How do I avoid creating a table with a make table query if no records exist for a field in my query.

Thank you Bob
 
You may test the return value of a DLookUp in code.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
PH
Thank you for starting me in right direction. My problem is I'm good with queries but not code. My table is named "temphist" and field name is "Dealer" for instance if dealer contains 19 records with value "117" i want to generate an excel speadsheet temp117.xls for those 19 records but if there are no records with "117" then ignore and search for next value "118" and do same thing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top