Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parametrized view ?..
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00415846
Message ID:
00415870
Views:
21
>In a parametrized view, Wich is better?
>
>1. ?thisform.property
>2. ?lvariable (global or local)
>
>The scenario is:
>
>A form that can be instatiated more than one time, and the requerys goes in some procedures of this form.
>
>I'm for the 1 solution, the only lack I think is that I wouldn't be able to REQUERY this in a program, but I don't have problem with that, cause all my actions occurs inside a form.
>
>Don't know where I hear that doing with a forms property I will got a loose of perfomance... I tested this and got similar results in time.
>
>Can you tell me how are you doing?
>
>Thanks in advance

I prefer #2, using a local variable. For a couple of reasons, I guess:
1. Easy to test from the command window.
2. Easy to use the view on other forms, reports, etc.
Chris McCandless
Red Sky Software
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform