I found this nice piece of code on the netm which will delete all records from a database.
but it's an SQL procedure, is there a way to do this in Access?
The PogoWolf
Code:
Declare @sql NVarChar(4000)
Select @sql= isnull(@sql,'') +'Delete From ' + Name + ';' From sysObjects Where xType='U'
Exec sp_executesql @sql
but it's an SQL procedure, is there a way to do this in Access?
The PogoWolf