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!

Get Path to TransferText from Textbox

Status
Not open for further replies.

laman

Technical User
Jan 24, 2002
44
0
0
US
What's wrong with the following:

DoCmd.TransferText acExportDelim, "sdf", "acc", "Forms![sdffiles]![txbfolder]acc1.sdf", False, ""

I'm tring to get the destination path from a textbox on a form. The file transfers but always to A:\drive no matter what I have in the textbox.

Thanks.
 
Try....

DoCmd.TransferText acExportDelim, "sdf", "acc", Forms![sdffiles]![txbfolder] & "acc1.sdf", False, ""

It looks like you've got the concatenation wrong....

Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top