G
Guest
Due to my limited SQL/Access knowledge, I am having trouble updating a table
from a form. I have a database named BIO ID, and I would like to update the
table named MOVES with information entered from a form I created. The table
MOVES has the following fields: MOVENUM (autonumber), BIO ID (number),
LOCATION (text), MOVE DATE (date/time), INITIALS (txt).
The form pulls BIO ID from another table (named BIO ID), Location is chosen
from a list box populated from another table (named Location), Move Date
being current date, and initials being current user. My SQL statement looks
like this:
DoCmd.RunSQL "INSERT INTO [BIO ID!MOVES]([BIO ID], [LOCATION], [MOVE DATE],
[INITIALS]) VALUES [BIO ID!BIO ID], FORM!LIST43, FORM!TEXT41, FORM!TEXT29"
Any assistance would be greatly appreciated. Thanks.
from a form. I have a database named BIO ID, and I would like to update the
table named MOVES with information entered from a form I created. The table
MOVES has the following fields: MOVENUM (autonumber), BIO ID (number),
LOCATION (text), MOVE DATE (date/time), INITIALS (txt).
The form pulls BIO ID from another table (named BIO ID), Location is chosen
from a list box populated from another table (named Location), Move Date
being current date, and initials being current user. My SQL statement looks
like this:
DoCmd.RunSQL "INSERT INTO [BIO ID!MOVES]([BIO ID], [LOCATION], [MOVE DATE],
[INITIALS]) VALUES [BIO ID!BIO ID], FORM!LIST43, FORM!TEXT41, FORM!TEXT29"
Any assistance would be greatly appreciated. Thanks.