Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding code to Next button click method in a Buttonset

Status
Not open for further replies.

jamesrav

Programmer
Sep 17, 2017
29
MX
This one has always perplexed me - it seems if I put something in the Click method then the Next button loses it's functionality (ie advance to next record). Is that true? How then does one note if the Next button has been clicked? I need to know that, yet if I set a variable in the Click method, Next no longer works. How do I not lose the intended purpose of the buttons?
 
Jamesray,
Do this:

[YOUR CODE]
DODEFAULT()



Best Regards,
Scott
MSc ISM, MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS

"I try to be nice, but sometimes my mouth doesn't cooperate.
 
Thanks, I knew there had to be a solution but would have taken a lot of time finding it. I've seen the DODEFAULT() in some other code, now I know exactly what it means.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top