learning2fly
Programmer
I am attempting to delete lines from an ODBC linked MySQl database using SQL statements from Excel but I am having some difficulty.
The use of the line:
dbData.Execute sqlClear
with the string sqlClear defined as:
sqlClear = "DELETE FROM marketdatapx WHERE network = 'IEEE57' and date1 = " & BidDayFormatted & " and idp = " & GenIDP & ""
Returns an error that I must use an "updateable query".
I have done some research into what might cause this error but seem to have ruled out the most obvious ones:
I have full access to the database
The line is not part of a one to many relationship
Is there anything else it could be?
Thanks
The use of the line:
dbData.Execute sqlClear
with the string sqlClear defined as:
sqlClear = "DELETE FROM marketdatapx WHERE network = 'IEEE57' and date1 = " & BidDayFormatted & " and idp = " & GenIDP & ""
Returns an error that I must use an "updateable query".
I have done some research into what might cause this error but seem to have ruled out the most obvious ones:
I have full access to the database
The line is not part of a one to many relationship
Is there anything else it could be?
Thanks