LPARAMETERS nColIndex
SELECT Units
SET FILTER TO pid = projects.pid
thisform.grdunits.refresh
We could have SET RELATION between the parent and child tables in the forms Init instead of SET FILTER in the grid's Event method.
FAA indicates that following manual change is needed:
Code for this event method must be split into before/afterRowChange() and before/afterColChange().
awGrd parent class code should execute:
IF NOT m.thisForm.wlHTMLGen
DoDefault(tuRow))
<existing code>
ENDIF
Split server code into wAfterRowChange() et wAfterColChange()
Our question is what does this message mean? what is meant by code for this event method must be split?
What is meant by awGrd parent class code should execute: IF NOT m.thisForm.wlHTMLGen
DoDefault(tuRow))
<existing code>
ENDIF
What is tuRow in DoDefault(tuRow))?
FAA has a similar message for the text field refreshes code in the child grid afterrowcolchangeevent method:
LPARAMETERS nColIndex
Thisform.txtpid.refresh
Thisform.txtseq.refresh
Thisform.txtmodel_no.refresh
Thisform.txtselleach.refresh
thisform.txtqty.refresh
thisform.txttonnage.refresh
How/where do we "split" these commands?
Can someone shed some light on what need to be done?
Thanks.
Garth