I have a table "tblAgent" with following fieldname
AgentID - Autonumber
Name - text
Agent_Code - text
Need to runSQL to delete record when Name & Agen_Code are empty. I try this thiss but not sure what syntax on WHERE.
DoCmd.RunSQL "DELETE * FROM tblAgent WHRERE tblAgent.Agent_Code = ????" not sure what syntax on where.
Thanks for Anyhelp
AgentID - Autonumber
Name - text
Agent_Code - text
Need to runSQL to delete record when Name & Agen_Code are empty. I try this thiss but not sure what syntax on WHERE.
DoCmd.RunSQL "DELETE * FROM tblAgent WHRERE tblAgent.Agent_Code = ????" not sure what syntax on where.
Thanks for Anyhelp