Senin, 27 Februari 2012

[MS_AccessPros] Insert Into statement getting syntax error

 

Hi all! Hope your day is going well. I have checked out the following statement and it's the last value that is giving me the problem. It is to be put into the Note and would look like: ListID = 832

I've tried several different approaches and can't get it to work. My guess is that I have more to learn about using quotations.

CurrentDb.Execute "INSERT INTO ListingsMiscCat (ListID, MiscCatID, MiscCatDate, Note) VALUES (" & Me.ReListID & ", 5, " & Me.ListDate & ", ""ListID = """ & Me.ListID & ")", dbFailOnError

Thanks!
Connie

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar