jaysoul
Member
- Joined
- Nov 23, 2005
- Messages
- 7
- Programming Experience
- Beginner
Hi,
I just need to know the correct syntax for an SQL INSERT statement I am trying to get right.
I think the problematic part is when I am trying to write my VALUES.
I want to insert three variables that I have declared into three entries in my table.
Here is my statement:
SQLaddmodule = "INSERT INTO Module " & "(ModuleCode, ModuleName, Credits)" & "VALUES (variable1, variable2, variable3,)"
Can anyone help me please as the statement does not work as it is.
Kind Regards
Jay
I just need to know the correct syntax for an SQL INSERT statement I am trying to get right.
I think the problematic part is when I am trying to write my VALUES.
I want to insert three variables that I have declared into three entries in my table.
Here is my statement:
SQLaddmodule = "INSERT INTO Module " & "(ModuleCode, ModuleName, Credits)" & "VALUES (variable1, variable2, variable3,)"
Can anyone help me please as the statement does not work as it is.
Kind Regards
Jay