Hi I am makeing an adress book, for some reason I decied to ditch my old method of flat files and try the new .NET databases big mistake it took me like an hour just to find out how to add a record, going tho the SQL statement and the 100 different ways to add a record finally I got one that worked. Now I am trying to update but keep getting the error.
ContactInfo is a Structure that just holds data.
Syntax error (missing operator) in query expression ''BenGf' set address='''.
SqlStr = "update ADDRESS set Person ='" & ContactInfo.TName & "' set address='" & ContactInfo.TAddress & "'"
Also is there a better way to update a record other than adding a ton of sql code just to update a record. to me it seems a bit bolted to me.
I miss good old DAO
Thanks
ContactInfo is a Structure that just holds data.
Syntax error (missing operator) in query expression ''BenGf' set address='''.
SqlStr = "update ADDRESS set Person ='" & ContactInfo.TName & "' set address='" & ContactInfo.TAddress & "'"
Also is there a better way to update a record other than adding a ton of sql code just to update a record. to me it seems a bit bolted to me.
I miss good old DAO
Thanks