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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call a sub from in a sub? 1

Status
Not open for further replies.

demoniac

Programmer
Jun 14, 2001
63
US
OK, I have a form that has a next button and a submit claims button. If they click on the submit claims button (submitClaims) and there's any information in the form, I want it to act like they first clicked the next button (nextClaim).

I already have it check to see if the form is clear or not, then I realized I didn't know how to call nextClaim_click(). Can someone help me? :eek:)
 
You can simply cose: nextClaim_click
That will execute the code in the button's click event. The cleaner way is to put the code in your click event into its own routine, then you can call that routine rather than the click event
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top