Query error (3265, Item not found in this collection)
Hi,I'm trying to alter a view on mySQL with the next line of code (Sending it from VBA in Excel)
pObj_DB.QueryDefs(Query_Name).Sql = Sql_String
The error I get is 3265, Item not found in this collection.
- I checked if the query name exists (dahhh)
- The SQL string works if I just paste it in the view...
What am I doing wrong?