A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

docmd.transfertext problem



 
 
Thread Tools Display Modes
  #1  
Old November 1st, 2007, 12:13 AM posted to microsoft.public.access,microsoft.public.access.forms,microsoft.public.access.formscoding
00 Hillary
external usenet poster
 
Posts: 4
Default docmd.transfertext problem

Can anyone please help? Thanks.

" 00 Hillary" wrote in message
...
Hi,

I am using access 97 and tried to import a csv file to the mdb table. I
run a code as following:


DoCmd.TransferText acImportDelim, "Specification4", "input",
DEFAULT_PATH & "online.txt", 1


In online.txt, there is a field which is 10 digit number and I specified
it as a double datatype in the specification4. After the import, I found
out that the 10 digit number data in the field get empty in the destined
table while other fields are all right. Therefore I import manually using
specification4 instead of running code. This time the 10 digit number data
get imported to the destined table. Can anyone please help me on how to
fix the problem so that I run the code? Thanks.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.