S
samotek via AccessMonster.com
I have an append query that i want to improve. It is the following:
StrSQL = "INSERT INTO tblObsoleteClients " _
& "SELECT * FROM tblClients " _
& "WHERE Clientid=" & Me.Clientid
CurrentDb.Execute StrSQL, dbFailOnError
However i want to insert only those clients which have the field Obsolete =
True.I have errors in trying to do it. Can you help ?
StrSQL = "INSERT INTO tblObsoleteClients " _
& "SELECT * FROM tblClients " _
& "WHERE Clientid=" & Me.Clientid
CurrentDb.Execute StrSQL, dbFailOnError
However i want to insert only those clients which have the field Obsolete =
True.I have errors in trying to do it. Can you help ?