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

re-activate a form

Status
Not open for further replies.

mallee

Programmer
Nov 7, 2000
116
I know this must be very basic but I haven't found it in help. I have a form with one command button that calls a
prg. When I exit the prg my form doesn't reactivate unless
I put a do form in the click event, like

click event code

do prg
do form xxx

What am I missing?

TIA
 
Hi

1. I suggest you copy that prg code as a method in your form, unless you want to use the same code again in some other form.

2. If you use PRG, the prg shall end with a RETURN statement and shall not have a QUIT.

If these are not the cause of your problem, please post what you have in the PRG so that we can have it figured out :)
ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
You could also explicitly call the form's activate event after the do prg:

click code

do prg
thisform.activate()

Mike


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top