delete code problem

B

bob

Private Sub cmd_Deletetemp_Click()
DELETE from tempattendance;Error...end of statement missing
End Sub
 
T

TC

Bob, you will usually get more help if you keep your posts short & concise;
er...

Try:

dbengine(0)(0).execute "DELETE from tempattanendance", dbfailonerror

I assume you relize that this will delete all records from the specified
table.

HTH,
TC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top