Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I return a value from the init method of a form
Message
From
19/07/2006 16:39:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Can I return a value from the init method of a form
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Miscellaneous
Thread ID:
01137825
Message ID:
01137825
Views:
60
Hi all

I call a form like this
DO FORM c:\frmkey.scx WITH 'MARB65042713' TO tnam
In the init of the frmkey form i have pout this code
IF Thisform.recherche(tcVal) > 1
    Thisform.ConfigKey(tcValRech,tcVal)
    Thisform.configgrd(ALLTRIM(UPPER(tcValRech)))
    GO TOP 
    Thisform.Refresh
ELSE
    RETURN thisform.valret
    RETURN .f.
ENDIF 	
In The Recherche Method I init the valret property
and i need to have this value in the tnam variable
Is it possible

Benoit
Next
Reply
Map
View

Click here to load this message in the networking platform