Guest_imported
New member
- Jan 1, 1970
- 0
dim mynote as string
mynote = me!note.value
DoCmd.RunSQL "insert into tblbogus (bogus)" & " Values(" & mynote & ""
mynote is dim'ed as a string.
When the runsql is executed it doesn't insert the value of the mynote variable into the table, instead it treats it as a parameter and puts up a dialog box asjking you for it's value.
How can I pass a variable into an insert into operation?
mynote = me!note.value
DoCmd.RunSQL "insert into tblbogus (bogus)" & " Values(" & mynote & ""
mynote is dim'ed as a string.
When the runsql is executed it doesn't insert the value of the mynote variable into the table, instead it treats it as a parameter and puts up a dialog box asjking you for it's value.
How can I pass a variable into an insert into operation?