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

Problem after DO FORM 2

Status
Not open for further replies.

rresendez

Programmer
Mar 14, 2005
40
US
I have a problem when I put DO FORM clientdata in my program. It calls it up fine and It does what it is supposed to do, but when I exit the FORM, my program is locked up. I can't do anything, cancel or suspend it. This is the only FORM I have. WHat can I do?

Ramon
 
I created the form using the wizard and it has an Exit button on it. I can click on the Add button and it works. The same is for the Save, Next, Delete, and so on. When I click on the Exit button, it closes the FORM like it should, but then the program stops running.

Ramon
 
Hi Ramon,

I've rarely used the form wizard so I don't know what it generates. Try issuing CLEAR EVENTS after your DO FORM.

Jim
 
Hi Ramon,

It's READ EVENTS after DO FORM (unless the form is modal). Put the CLEAR EVENTS in the form's Destroy event.

Regards,

Mike
 
I tried that already after searching the post and it had that in a couple of posts.
 
Hi Mike,

That did it. Thank you msprat.

Thank you jimstarr for your assistance too.

Ramon
 
Hi Ramon,

You're welcome. Glad you got it working.

Regards,

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top