Hello all,
I have the following problem .
I have a command button that inserts and e-mail adress in a table.
In the same clikc event i want to update the field in another table that corresponds to the e-mail clicked.
Unfortunately,don't know why ( probably because i don't know very well ), can't make the update part work.
Right now i have :
-everything is text,not numeric
Thank you very much for your help.
I have the following problem .
I have a command button that inserts and e-mail adress in a table.
In the same clikc event i want to update the field in another table that corresponds to the e-mail clicked.
Unfortunately,don't know why ( probably because i don't know very well ), can't make the update part work.
Right now i have :
-everything is text,not numeric
Code:
Dim sql2 As String
Dim varwhereClause as String
varwhereClause = Me![Email]
sql2 = "Update T_all set T_all.DND = " * " where (([Email]= """ & varwhereClause & """)); "
DoCmd.RunSQL sql2
Thank you very much for your help.