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!

Export Query to Excel Question 1

Status
Not open for further replies.

SMHSleepy

Technical User
Sep 8, 2009
174
CA
Hi folks, I have a query which I use to periodically export data to an Excel file. I use the <DoCmd.TransferText acExportDelim> command to do this. After I do the export, I would like to update the checkbox field in one of the tables so that it doesn't get exported again when I run the command. I've already put the condition in my query to exclude records with this checkbox selected but right now I have to manually check them after doing each export. Can anyone help?
 
I'd run an UPDATE query with the same WHERE clause as the export query.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
OMG, I feel like such a newb. Thank you! All I did was make a copy of my query, change it to an update query and put change to "true" in the checkbox. Simple but brilliant, thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top