Make Table Syntax

C

CVegas

Can I pull the value in a field, on my form, and replace the ReName that
follows the INTO syntax in the query below. This would keep me from having
to go into the fax.mdb and change the name of the table I just created
called "Rename"

frm_SendMultipleReports!Combo81

SELECT dbo_Contacts.ShowName, dbo_Contacts.Company, dbo_Contacts.FirstName,
dbo_Contacts.LastName, dbo_Contacts.Area, dbo_Contacts.CanDo,
dbo_Contacts.Fax, 1 & [fax] AS NewFax INTO ReName IN 'z:\Fax.mdb'
FROM dbo_Contacts
WHERE (((dbo_Contacts.ShowName)=[forms]![frm_SendMultipleReports]![combo81])
AND ((dbo_Contacts.Company)<>"isnull") AND
((dbo_Contacts.FirstName)<>"isnull") AND ((dbo_Contacts.LastName)<>"isnull")
AND ((dbo_Contacts.Area)<="C") AND ((dbo_Contacts.CanDo)=1) AND
((dbo_Contacts.Fax)<>"isnull"));

Thanks in advance.
 

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