Link to home
Create AccountLog in
Avatar of SuperLight
SuperLight

asked on

SQL Delete * Only Deleting a Single Record on Linked Table

Hi Experts,

I'm experiencing an issue with deleting records on the Linked Table (Oracle) from MS Access 2007.  I'm executing the following in VBA:

CurrentDb.execute Delete TableName.* FROM TableName

I expect this would delete all records, however it's just deleting 1 record.

Any help would be appreciated.

Thanks

Mark
SOLUTION
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Is this Table involved in an Relationships ?  If so, this is likely the cause of the problem .... Referential Integrity may be preventing deleting of records.

mx
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of SuperLight
SuperLight

ASKER

50/50 split seems only fair!

thanks
Well, what do you mean 'worked'.  Was a error exposed ? If so what error ... just curious ...

mx