gnlehcar
Posts: 15
|
| Posted: 07/21/2008, 2:00 AM |
|
I am creating something similar to the Master-Detail Form for Order Entry in example pack..
However, I would like to updated the 2 forms together by only pressing one button..
Therefore, I have created a button called "Save" on the top of the page.
I have made the buttons "Insert", "Delete" in Record and "Submit" in Editable to be invisible.
For the "Save" button, I add a client On Click action on it:
//Submit Form @111-CB537A16
document.forms["invoice_record"].submit();
document.forms["invoice_details"].submit();
//End Submit Form
The Save button works fine when I create a new entry..
However, when I am updating the record in editable grid...some unexpected result is observed...
all the records in editable grid will be updated with the value of the last record under the same invoice number..even though I am only updating one of the them.
This problem stumbled me for a few days.......
Do anyone know why??
hope someone could help me..THANKS!!
_________________
Rachelbo |
 |
 |
|