Still a newbie 
I am trying to display a value (text) in a text box on a form.
Here is what I tried:
CONTROL SET TEXT hDlg, %IDC_TEXTBOX_StoreNumber, StoreNumber
The value is in the variable 'StoreNumber' and the '%IDC_TEXTBOX_StoreNumber' is the name of the control (I have also tried using the number - which happens to be 1013).
I am getting an error 519 which seems to be telling me that hDlg is and undeclared variable.
Obviously I don't know what I am doing.
Can someone please help me on this?
Thank You

I am trying to display a value (text) in a text box on a form.
Here is what I tried:
CONTROL SET TEXT hDlg, %IDC_TEXTBOX_StoreNumber, StoreNumber
The value is in the variable 'StoreNumber' and the '%IDC_TEXTBOX_StoreNumber' is the name of the control (I have also tried using the number - which happens to be 1013).
I am getting an error 519 which seems to be telling me that hDlg is and undeclared variable.
Obviously I don't know what I am doing.
Can someone please help me on this?
Thank You
Comment