P
Patrice
Hi,
I have that command in a sub
DoCmd.TransferText acImportDelim, "Meteo", "Meteo", strPath_Nom
If something bad append like trouble with primary key, I'll get a message
from Access like " 0 record was imported..." but is no error.number generated
How can I trap the Access message to be able to continu in my code like that
If NoBadLuckWithTransferText then
bolTransfer = True
else
bolTransfer = False
end if
Thank you
Patrice
I have that command in a sub
DoCmd.TransferText acImportDelim, "Meteo", "Meteo", strPath_Nom
If something bad append like trouble with primary key, I'll get a message
from Access like " 0 record was imported..." but is no error.number generated
How can I trap the Access message to be able to continu in my code like that
If NoBadLuckWithTransferText then
bolTransfer = True
else
bolTransfer = False
end if
Thank you
Patrice