Don't end form after pressing OK

Jamie_Yates

Active Member
Don\'t end form after pressing OK

Hi List

I have a header detail form. When OK is click I don't want the form to end (I'm manually clearing all controls so the form is ready for the next entry), if there are no records in the grid it works fine. BUT if there is a record in the grid it always ends.
I have turned off "end form on add" on the form properties, is there a similar property on the grid?

Thanks
Jamie
 
RE: Don\'t end form after pressing OK

hi Jamie_Yates,

As u have manually added all the data.....

now call the same form after u have done so.....

after doing this ur problem will be solved..


Regards


Nishant Rewri
 
Re: RE: Don\'t end form after pressing OK

Hi Nishant

Thats a great idea and works really well.
The only problem i have now it that when OK is clicked the existing form stays open in memory. this keeps happening until Cancel is clicked then all forms close together. Is there a way to make a form interconnect but allow the first form to end and close. There isn't an option to run it Asyncronously.

Thanks
Jamie
 
RE: RE: Don\'t end form after pressing OK

hello Jamei..

for that u can use a system function "press button" and pass it the argument
"close"

so when u call the form the earlier one gets closed and u can start the
operation all over again.

if still not clear then u can mail me at [email protected]

i know this will work...gud luck.

Nishant Rewri
 
Back
Top