Home » Developer & Programmer » Forms » USING POST COMMAND IN CALL_FORM
USING POST COMMAND IN CALL_FORM [message #201432] Sat, 04 November 2006 03:18 Go to next message
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 #201439 is a reply to message #201432] Sat, 04 November 2006 04:22 Go to previous messageGo to next message
saadatahmad
Messages: 452
Registered: March 2005
Location: Germany/Paderborn
Senior Member

place a button on form b. Write on When-Button-Pressed
post;
call_form('a');


Commit changes in form a.

regards,
Saadat Ahmad
Re: USING POST COMMAND IN CALL_FORM [message #201453 is a reply to message #201432] Sat, 04 November 2006 07:25 Go to previous messageGo to next message
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 Go to previous message
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
Previous Topic: Urgent Help Error 0 at line, column 0 ORA-00600: internal error code, arguments:[17069],[72229968],[
Next Topic: attachment file
Goto Forum:
  


Current Time: Fri Sep 20 12:36:00 CDT 2024