B
Bonnie A
Hi everyone! Using A02 on XP.
I have a macro that imports a comma delimited file with a TransferText line.
The data for the line is:
Transfer Type - Import Delimited
Specification Name - CensusImportSpec1
Table Name - Census1
File Name: ="S:\RPS\PTS\CensusConversion\" &
[Forms]![fCensus1Conversion]![PolNum] & ".csv"
Has Field Names - No
The file name has been the policy number dot csv. This year the download
will change the the file names will be the policynumber followed by 8-10
digits and characters that I do not care about. The file extension will
still be dot csv. How can I change the
="S:\RPS\PTS\CensusConversion\" & [Forms]![fCensus1Conversion]![PolNum] &
".csv"
to find the file that is
LIKE "S:\RPS\PTS\CensusConversion\" & [Forms]![fCensus1Conversion]![PolNum]
&"*"& ".csv"
The file name I am testing with is: 0002_120080110_161113.csv Only the
first 4 digits are the policy number.
I tried the "LIKE" above but the table is empty. I know I'm missing
something easy. It's probably the quotes, the bane of my access understanding.
Thanks in advance for any help or advice! Luv u guys!!!
I have a macro that imports a comma delimited file with a TransferText line.
The data for the line is:
Transfer Type - Import Delimited
Specification Name - CensusImportSpec1
Table Name - Census1
File Name: ="S:\RPS\PTS\CensusConversion\" &
[Forms]![fCensus1Conversion]![PolNum] & ".csv"
Has Field Names - No
The file name has been the policy number dot csv. This year the download
will change the the file names will be the policynumber followed by 8-10
digits and characters that I do not care about. The file extension will
still be dot csv. How can I change the
="S:\RPS\PTS\CensusConversion\" & [Forms]![fCensus1Conversion]![PolNum] &
".csv"
to find the file that is
LIKE "S:\RPS\PTS\CensusConversion\" & [Forms]![fCensus1Conversion]![PolNum]
&"*"& ".csv"
The file name I am testing with is: 0002_120080110_161113.csv Only the
first 4 digits are the policy number.
I tried the "LIKE" above but the table is empty. I know I'm missing
something easy. It's probably the quotes, the bane of my access understanding.
Thanks in advance for any help or advice! Luv u guys!!!