G
Guest
Hello,
I have a checkbox that when checked makes a textbox visible, and when not
checked, or unchecked, leaves/makes it invisible.
People are expected to check the box and then enter text, and on
AfterUpdate, the content of the checkbox is used to update the form's
underlying query.
When the texbox is hidden again by unchecking the checkbox, I would like to
remove the data that was stored in there.
I can use txtbox.Value = Null to clear the text box, but the data in the
query isn't touched by this, or if it is, the change is not saved.
What is a good way to delete that information from the db?
Thank you.
I have a checkbox that when checked makes a textbox visible, and when not
checked, or unchecked, leaves/makes it invisible.
People are expected to check the box and then enter text, and on
AfterUpdate, the content of the checkbox is used to update the form's
underlying query.
When the texbox is hidden again by unchecking the checkbox, I would like to
remove the data that was stored in there.
I can use txtbox.Value = Null to clear the text box, but the data in the
query isn't touched by this, or if it is, the change is not saved.
What is a good way to delete that information from the db?
Thank you.