Datagrid update Value
Posted: Mon Mar 17, 2014 4:47 pm
in my datagridview i have a value that i want to change the specific column. I use dgHilitedLines to prompt the specific field
i done this correctly. here is the code for that and its working
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
I'm clueless on this matter but i tried to figure out
any suggestion will do.
thanks
blaireTabay
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