P
Pamela via AccessMonster.com
Hello,
I have the following statement:
MsgBox [Num]
SQL1 = "INSERT INTO tblContactDateHistory ( RecID, ContactDate) Values (
[Num], [ContactDate])"
MsgBox SQL1
DoCmd.RunSQL SQL1
For some reason, this SQL statement isn't adding [Num] - a field on the form,
to RecID and I don't understand why? It adds the ContactDate just fine.
The table ContactDateHistory id related to another table, with RecID being
the related field. Any thoughts? MsgBox [Num] is returning the correct
value...
I have the following statement:
MsgBox [Num]
SQL1 = "INSERT INTO tblContactDateHistory ( RecID, ContactDate) Values (
[Num], [ContactDate])"
MsgBox SQL1
DoCmd.RunSQL SQL1
For some reason, this SQL statement isn't adding [Num] - a field on the form,
to RecID and I don't understand why? It adds the ContactDate just fine.
The table ContactDateHistory id related to another table, with RecID being
the related field. Any thoughts? MsgBox [Num] is returning the correct
value...