I'm having problems with using the truncate command in a pass through query in access, it dosn't seem to like it. I've got a pass through query that sends the truncate command to delete values from an oracle database. Here is some of the code. Anybody done anything like this before? Thanks for your help in advance.
Set daoDatabase = CurrentDb
Set daoQueryDef = daoDatabase.CreateQueryDef("", sqlString)
daoQueryDef.Execute
Call CloseADOObject(daoQueryDef)
the sqlString is:
TRUNCATE TABLE LOAD_OPPORTUNITIES;
Set daoDatabase = CurrentDb
Set daoQueryDef = daoDatabase.CreateQueryDef("", sqlString)
daoQueryDef.Execute
Call CloseADOObject(daoQueryDef)
the sqlString is:
TRUNCATE TABLE LOAD_OPPORTUNITIES;