Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error '3065' Cannot execute a select query 1

Status
Not open for further replies.

irethedo

Technical User
Feb 8, 2005
429
US
I am getting a Run-time error '3065' Cannot execute a select query with the following code:

Code:
strSq1 = "delete * from  SameOrd_tbl WHERE (((SameOrd_tbl.[License_PartNo]) Is Null) 
AND ((SameOrd_tbl.ComputerName) Is Null) AND ((SameOrd_tbl.FriendlyName) Is Null))"
    
CurrentDb.Execute strSql

What am I doing wrong?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top