Delete Record

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to delete a record in fldPlayer in frmTable1 based on an If Then
Statement in a second form frm Authenticate.
Can anyone suggest some suitable code.

Thanks
 
DoCmd.RunSQL "DELETE * FROM tableNameHere WHERE
flfPlayer=FORMS!frmTable1!fldPlayer "




should do.


Hoping it may help,
Vanderghast, Access MVP
 
Mike
Thanks for your help.
--
Dave Hawks


Michel Walsh said:
DoCmd.RunSQL "DELETE * FROM tableNameHere WHERE
flfPlayer=FORMS!frmTable1!fldPlayer "




should do.


Hoping it may help,
Vanderghast, Access MVP
 

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

Back
Top