I tried a few way to reset a value in a table when I close the form but not working. Can someone give me some advise how to reset a value in a table when I click on a button in a form?
Hello there!
I don't quite understand your question but I'll give it a shot anyway...
Some where on your form you'll have a field that is bound to the table you want to reset. Set this fields "default value" to the value you want. (The fields properties dialog, Data tab, default value "field" type in:
101 (or if it's a string): "Dalmatians"
Now when you click the button, in its "On click" event (as above but in its "field" select "event procedure" then click "..." just beside, to open Visual basic) add something like this between the sub title and "end sub" that it just made for you automatically:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.