Hi,
When I run the following command, some fields are ending up blank when
the clearly have values them in Excel. I have tried converting the
columns to general and text. The ones that are ending up blank (Null,
actually) contain:
lu24769884l
lu24769884xxl
Just text. Displayed the same value up top when I click on that cell
in Excel.
The values that do get transposed correctly are all numeric as
617867094518 but that one displayed as 6.17867E+1 in it's cell.
However, that cell gets converted properly into the Access table.
My transfertext code:
strFind = "[date] = #" & varFileDate & "# And [purchaser] = " &
intPurchaser
varReturnVal = DLookup("[date]", "tblInventoryPurchases", strFind)
DoCmd.TransferText acImportDelim, , "tblTempCashReg", strReturnVal, -1
This particular field in the Access table is formatted as text.
Any ideas?
-paul