USING POST COMMAND IN CALL_FORM [message #201432] |
Sat, 04 November 2006 03:18 |
amul
Messages: 252 Registered: April 2001 Location: Chennai
|
Senior Member |
|
|
HI,
i have two form A and B, i am calling form-B from form-A using call_form command, now i like make some update in form-B and post those update using POST command then i want to commit those updates in form-A, is this possible, then how
|
|
|
|
Re: USING POST COMMAND IN CALL_FORM [message #201453 is a reply to message #201432] |
Sat, 04 November 2006 07:25 |
vatsjai
Messages: 23 Registered: May 2005 Location: delhi
|
Junior Member |
|
|
Hi
We call a form from within other form using call_form.
Post does not commit records to database. all the updates will be saved on commit_form. do this
from form a
call_form('b.fmx',hide,do_replace,no_query_only);
update form b
press ok button (if any there with a commit_form line;)
and exit;
it will update.
Jai
|
|
|
Re: USING POST COMMAND IN CALL_FORM [message #201559 is a reply to message #201432] |
Sun, 05 November 2006 19:24 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Why you would want to do this I have no idea!
Yes, you can do the 'post' and then 'exit_form(no_commit)' but if you have changed the records that were being displayed in Form A you will have to requery when you return so that you can see the updated values.
Have you considered putting the extra information that you have programmed into Form B into a second window or canvas in Form A?
David
|
|
|