I am VERY new to sqls and I need to make some text appear in my string, and I don't know how to do it. This is what I have right now.
DoCmd.RunSQL "INSERT into History (user, login, Action) VALUES ('" & Access.CurrentUser & "', #" & Now() & "#, " &[bold] "Deleted Record #" & Me.borrower[/b] ') "
I want the bold statement to appear in the Action column of a table that I have, but it just doesn't want to work.
And also, Is there a way that I can make this statement work in a macro. It errors at the " #" & Now() & "#, " Part.
Thanks in advance
PROXI
Thanks,
Shadd Parker
DoCmd.RunSQL "INSERT into History (user, login, Action) VALUES ('" & Access.CurrentUser & "', #" & Now() & "#, " &[bold] "Deleted Record #" & Me.borrower[/b] ') "
I want the bold statement to appear in the Action column of a table that I have, but it just doesn't want to work.
And also, Is there a way that I can make this statement work in a macro. It errors at the " #" & Now() & "#, " Part.
Thanks in advance
PROXI
Thanks,
Shadd Parker