Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong with the following code?
Message
From
23/09/1998 21:18:08
 
 
To
23/09/1998 19:54:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00140095
Message ID:
00140172
Views:
29
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
Previous
Reply
Map
View

Click here to load this message in the networking platform