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

Urgent - table export

Status
Not open for further replies.

MattBegg

Programmer
Jan 19, 2001
42
CA
Help

I am trying to export a table as a delimited text file, but the file is empty.

I am using the following code:

DoCmd.TransferText acExportDelim, , "F_Phys_Exam", "D:\" & newdir & "\" & UserName & "_F_Phys_Exam_csv.txt"

Please help :)

Matt
Regards

Matt

matt@begg-uk.co.uk
 
Ok sorted it

but the first field is in inverted commas and the rest of the fields are comma separated.

I do not want the inverted commas

Any suggestions ??

Matt Regards

Matt

matt@begg-uk.co.uk
 
Hi Matt,

Your syntax looks OK, so the next step as far as I can see is to check what is in your variables. Could you try this:

Debug.print "F_Phys_Exam", "D:\" & newdir & "\" & UserName & "_F_Phys_Exam_csv.txt"

and see if it produces the directory & filename you were hoping for ?

Let me know if this helps Missy Ed
Looking to exchange ideas and tips on VB and MS Access development as well as office 97 development. Drop me a line: msedbbw@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top