D
Dave Hawks
I am trying to delete the text in one specific field in a record but leave
the others.
The fields are displayed on a Form frm Table 1 and each record has 5 fields
fldTime, fldPlayer1,fldPlayer2, fldPlayer3, fldPlayer4.
The decision to delete is based on an If Then Else Procedure run on a
different form frmAuthenticate.
The frmTable 1 is open with the focus on the field I am trying to delete and
frm Authenticate is opened by the before update event if the existing entry
has been deleted .
I have tried using a
DoCmd.RunSQL "Delete Table1.Player3 From Table1"
after the else statement, but this deletes all records from the table.
Is this the best way to tackle the problem ,and if so how do I limit
deletion to the correct field.
Thanks for your help
the others.
The fields are displayed on a Form frm Table 1 and each record has 5 fields
fldTime, fldPlayer1,fldPlayer2, fldPlayer3, fldPlayer4.
The decision to delete is based on an If Then Else Procedure run on a
different form frmAuthenticate.
The frmTable 1 is open with the focus on the field I am trying to delete and
frm Authenticate is opened by the before update event if the existing entry
has been deleted .
I have tried using a
DoCmd.RunSQL "Delete Table1.Player3 From Table1"
after the else statement, but this deletes all records from the table.
Is this the best way to tackle the problem ,and if so how do I limit
deletion to the correct field.
Thanks for your help