How to update the Form controls ?

chandrurecchandrurec Member Posts: 560
Hi all,

I am trying to write the code in the validate trigger of Quantity on Validate trigger to modify the quantity of child items based on the quantity given in the Parent Item.

After entering the quantity in for the parent item, when I press the tab, the quantity of the child items is not getting changes unless i click that particular Child Item line or close and reopen the form.

I tried using the CurrForm.UpdateControls still not working.

Is there any way to change the respective quantity of Child Items without clicking on that particular line or closing and reopening the form.

If anyone know the solution on how to achieve this , Kindly give me some sample coding snippet so that I can go through the snippet and understand.

Thanks in advance.

Regards,
Chandru.

Comments

  • kash387kash387 Member Posts: 111
    Hi chandru,

    Try currform.update @ on Quantity - OnAfterValidate trigger of form...!!
    Thanks,

    Kashyap
  • chandrurecchandrurec Member Posts: 560
    Hi Kashyap,

    I used Curform.update and I can get the desired output.

    Thanks & Regards,
    chandru
Sign In or Register to comment.