COMMIT WITH CONDITION [message #574332] |
Wed, 09 January 2013 01:49 |
|
furqan
Messages: 115 Registered: January 2012 Location: Hyderabad
|
Senior Member |
|
|
hello sir,
after committing form i want to clear few item and retain few item
and make the form ready for next record to be inserted along with retained item.
Thank you very much in advanced
regards
|
|
|
|
|
Re: COMMIT WITH CONDITION [message #574341 is a reply to message #574336] |
Wed, 09 January 2013 03:58 |
|
furqan
Messages: 115 Registered: January 2012 Location: Hyderabad
|
Senior Member |
|
|
thank you for your reply...
in my form i have purchase order number,date and serial no.
when i enter first record..serial number will be 1..when commit
serial number changes to 2 and i want purchase order number and date
to remain the same for second record and rest other items shud get clear.
--on commit button
commit_form;
next_record;
:pr_inp_upt.PROCESS_TYPE:=NULL;
:pr_inp_upt.UNIT:=NULL;
when try to enter second record with new process type and unit...its updating
the first record and not entering second record with new items(process_type,unit).
Thanks...
[Updated on: Wed, 09 January 2013 04:00] Report message to a moderator
|
|
|
Re: COMMIT WITH CONDITION [message #574343 is a reply to message #574341] |
Wed, 09 January 2013 04:13 |
|
Littlefoot
Messages: 21818 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
According to what you wrote here, that shouldn't happen. NEXT_RECORD is ... well, next record, not the same record.
Run the form in debug mode and trace its execution in order to find out what is going on.
|
|
|