Anyone know how I can make access delete a record if i select a certain value from a dropdown list.
I have a database which upon opening a new record automatically populates certain fields with default data. The problem is that if I decide I want to go back to the previous record without making any changes to the new record I get an error as my first field is linked to another table and if it's empty access says it can;'t find a matching key in the other table.
What I want is when I click the previous record button or close the form, to check the first field and if it's value equals a specific word then simply forget the record, if that makes any sense?
thanks.
I have a database which upon opening a new record automatically populates certain fields with default data. The problem is that if I decide I want to go back to the previous record without making any changes to the new record I get an error as my first field is linked to another table and if it's empty access says it can;'t find a matching key in the other table.
What I want is when I click the previous record button or close the form, to check the first field and if it's value equals a specific word then simply forget the record, if that makes any sense?
thanks.