Information générale
Titre:
What is wrong with the following code?
Hi,
In the click event procedure of a command button, Iam trying to launch a modal form (custfind.scx) and see couple of properties of custfind object once the launched form is closed.
Right after the "do form.." line, Iam getting an error saying "dlgFind" is not object.
What am I doing wrong?
Iam giving below the code.
Thanks
Puri
======The code==================
local dlgFind
do form findcust.scx name dlgFind linked ;
with thisform.txtCustomer.Value
if m.dlgFind.m_nCustId <> -1
? "The customer id is " + Str(dlgFind.m_nCustId)
? "The customer name is "+m.dlgFind.m_sCustName
thisform.txtCustomer.Value = m.dlgFind.m_sCustName
endif
=============================
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement