[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

Export Access Query to Excel Maintain Leading 0

I have an Access database Query  that I am exporting to Excel.
There is a field that is a zip code that is 00990 - when I export it shows in Excel as 990
I need it to be 00990
0
Pdeters
Asked:
Pdeters
1 Solution
 
Rey Obrero (Capricorn1)Commented:
how do you export the query?

in the query emphasize that the field is text  with  cstr([Zip code])
0
 
PdetersAuthor Commented:
DoCmd.TransferText acExportDelim, , "Query", strLocation & "File.CSV"
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now