G
Guest
Hi guys
I'm having trouble figuring this one out as I'm still VBA-dumb. I've seen this idea here before but can't relocate it so I'm asking for your assistance
My form has a command button labeled "Delete". When the user clicks the button, I would like to have the record no longer visible in various forms, listboxes, etc. I have added to the table a yes/no field. I'll set up my queries to not include any records that have the field value 'yes' (or is it more technically '-1')
I'm stuck on the 'On Click' event code, I can't figure out how to tell VBA "Update the current record field to 'yes' and then refresh/requery the form recordsource.
Either pointing me to a generic sample or posting a sample would be appreciated
TIA
Rick...
I'm having trouble figuring this one out as I'm still VBA-dumb. I've seen this idea here before but can't relocate it so I'm asking for your assistance
My form has a command button labeled "Delete". When the user clicks the button, I would like to have the record no longer visible in various forms, listboxes, etc. I have added to the table a yes/no field. I'll set up my queries to not include any records that have the field value 'yes' (or is it more technically '-1')
I'm stuck on the 'On Click' event code, I can't figure out how to tell VBA "Update the current record field to 'yes' and then refresh/requery the form recordsource.
Either pointing me to a generic sample or posting a sample would be appreciated
TIA
Rick...