Good afternoon
Just a quick one today... wondered if anyone has any (nice, easy to understand) ways of stopping a record saving to a table.
I have a 'cancel' command button on my form but even when pressed the record still saves in the table as I have an autonumber field (so it just saves the autonumber and leaves the other fields blank)??
Any advice would be very welcome; I have had a look at other posts which describe setting a global variable and using the 'Cancel = True', with focus on the before update event - I did try this yesterday but couldn't get it to work properly; it was still saving the record in the table... I'm still in the testing phases of my database and keep ending up with hundreds of records unnecessarily
Many Thanks
Just a quick one today... wondered if anyone has any (nice, easy to understand) ways of stopping a record saving to a table.
I have a 'cancel' command button on my form but even when pressed the record still saves in the table as I have an autonumber field (so it just saves the autonumber and leaves the other fields blank)??
Any advice would be very welcome; I have had a look at other posts which describe setting a global variable and using the 'Cancel = True', with focus on the before update event - I did try this yesterday but couldn't get it to work properly; it was still saving the record in the table... I'm still in the testing phases of my database and keep ending up with hundreds of records unnecessarily
Many Thanks