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