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
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