i done this correctly. here is the code for that and its working
Code: Select all
put the dgHilitedLines of group "dgGridOrderListDoctor" into theLine
put the dgDataOfLine[theLine] of group "dgGridOrderListDoctor" into theDataA
put theDataA["quantity"] into field "txt_changeQuantity" of stack "frm_pharmaConfirm"
here is now the problem when i tried to update it happen that it will not update on the specific row that that i click
here is my code for that
Code: Select all
put field "txt_changeQuantity" into quantity
# put the dgHilitedLines of group "dgGridOrderListDoctor" into theLine
# put the dgDataOfLine[theLine] of group "dgGridOrderListDoctor" into theDataA
put quantity into temp
put "quantity" into theDataColumns
put the dgNumberOfLines of me +1 into theLineNo
dispatch "Addline" to the group "dgGridOrderListDoctor" with temp, theDataColumns, theLineNo
any suggestion will do.
thanks
blaireTabay