P
Patrice
Hi,
I have that command in a Sub
DoCmd.TransferText acImportDelim, "Meteo", "Meteo", strPath_Nom
If something wrong with the importation (like trouble with primary key) I'll
have a msgbox from Access like "0 record was imported.... " but no error
number is generated. How can I trap the Access message?
I'd like to continu with something like that
If NoImportationTrouble then
ImportMeteo = True
else
ImportMeteo = False
end if
Thank you
Patrice
I have that command in a Sub
DoCmd.TransferText acImportDelim, "Meteo", "Meteo", strPath_Nom
If something wrong with the importation (like trouble with primary key) I'll
have a msgbox from Access like "0 record was imported.... " but no error
number is generated. How can I trap the Access message?
I'd like to continu with something like that
If NoImportationTrouble then
ImportMeteo = True
else
ImportMeteo = False
end if
Thank you
Patrice