After GETting the field nNumber, how can I display the customer name from the database from within the GET at position 25,40 ?
- Code: Select all Expand view
@ 10,05 SAY oSays[1] VAR "Number" OF oDlg PIXEL
@ 25,05 SAY oSays[2] VAR "Name" OF oDlg PIXEL
@ 25,40 SAY oSays[3] VAR Cust_name OF oDlg PIXEL
@ 40,05 SAY oSays[4] VAR "Balance" OF oDlg PIXEL
@ 55,05 SAY oSays[5] VAR "Date" OF oDlg PIXEL
@ 10,40 SAY oGets[1] VAR nNumber OF oDlg PIXEL
VALID IIF(DBSEEK(nNumber, .F.), ..., MsgALert("Customer Not Found"))
@ 40,40 SAY oGets[2] VAR nBalance OF oDlg PIXEL
Thank you.