Ich habe das in Access immer ungefähr so gemacht:
z.B. eine Importroutine in einem Formular beim Ereignis onClick:
DIM RS AS RECORDSET
DIM a AS STRING, b AS STRING
OPEN "Pfad zur Datei" FOR INPUT AS #1
SET RS = CURRENTDB.OPENRECORDSET("Tabelle mit mailaddr.")
WHILE NOT EOF(1)
LINE INPUT#1, a
hier muss dann der string a zerlegt werden. z.b. ist die email adresse dann in b.
RS.ADDNEW
'Das FeldEmail ist das Feld in der Tabelle mit der mail adresse.
RS.FeldEmail = b
RS.UPDATE
WEND
CLOSE#1
RS.CLOSE
|