Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter for selecting view
Message
From
19/10/2001 07:22:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00570305
Message ID:
00570708
Views:
16
>For this kind of situation I have variables declared as private in the calling program (form). In this case, they would be seen in Form's Load (not in Init!).
>
>In other words:
>Calling program:
>private tcFileName, tcMode
>tcFileName = "myfile"
>tcMode = "Manual
>
>Form.Load
>if vartype(m.tcFileName)="C"
> ...
>endif

Nadya,

Your answer is exactly what I need. The solution is simple and effective. Now, how come I didn't think of this? (I have already used private variables in the past, as substitute for parameters). Seems that I am getting lazy, or old.

Thanks a lot.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform