Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong with the following code?
Message
De
23/09/1998 21:18:08
 
 
À
23/09/1998 19:54:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00140095
Message ID:
00140172
Vues:
30
Hi Erik ...

Dead on with the problem. The workaround is:

1) Create a custom form property nCustID for the findcust form.
2) In the Unload event of findcust put:
THISFORM.nCustID = {whatever logic applies}
RETURN THISFORM.nCustID
3) Replace the code with....
LOCAL m_nCustID,m_sCustName
DO FORM findcust WITH THISFORM.txtCustomer.Value TO m_nCustID
*** Code here to find matching SCustName in whatever table is applicable
THISFORM.txtCustomer.Value=m_sCustName
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform