Need help to add value to datagrid
Posted: Sun Mar 02, 2014 3:09 pm
I have a problem regarding with the datagrid. All i want is to add a value inside my datagrid
using a textbox. i dont have any idea how to do it
here is my code
any help is accepted
using a textbox. i dont have any idea how to do it
here is my code
Code: Select all
put field txt_caseNum into caseNum
put field txt_drName into drName
put field txt_searchNum into txt_Num
put caseNum & tab & drName & tab& txt_Num into temp
put "case" & cr & "laboratory" & cr & "dr" into theDataColumns
#set the dgText of group "dgGrid" to temp
set the dgtext of group "dgGrid" to temp
put the dgNumberOfLines of me + 1 into theLineNo
dispatch "Addline" to the group "dgGrid" with temp, theDataColumns, theLineNo
Put the result into theLineNo