Hi,
I'm using the docmd.transfertext action to import a .csv file. The file is a softcopy of an invoice. I have the spec set up and I thought everything worked fine.
Now I have found that when I import the file using the code it is somehow changing my values in the (monetary) amount field.
Basically when I sum the Amount in excel, or when I copy the data and Paste Append into the table in Access, I get the right sum value. When I import the file and sum the Amount it is less than what it should be.
It is being imported into a pre-existing table and the Amount field is set to currency, and in the source file it is only to 2 decimal places anyway so I didn't think it could be about rounding.
Can anyone think why this might happen???
(ps sorry for the long-winded explanation!)
I'm using the docmd.transfertext action to import a .csv file. The file is a softcopy of an invoice. I have the spec set up and I thought everything worked fine.
Now I have found that when I import the file using the code it is somehow changing my values in the (monetary) amount field.
Basically when I sum the Amount in excel, or when I copy the data and Paste Append into the table in Access, I get the right sum value. When I import the file and sum the Amount it is less than what it should be.
It is being imported into a pre-existing table and the Amount field is set to currency, and in the source file it is only to 2 decimal places anyway so I didn't think it could be about rounding.
Can anyone think why this might happen???
(ps sorry for the long-winded explanation!)