Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional Best Practice
Message
From
26/07/2001 13:09:29
 
 
To
26/07/2001 11:17:21
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00535738
Message ID:
00535876
Views:
11
This message has been marked as the solution to the initial question of the thread.
Renoir-

>That is a most excellent question. The answer is in the nuance of the app itself. The data for the combos is not available until the page is activated (trust me, I know; many hours looking at the Event Tracking to find a better way). The class is based from someone else's and the best thing I could think to do was check for the property and then don't run the data populating portion if this was the first time through. After the first time, the property is created and then the data portion can be run. You will note that I named it mInitSQL as it originally was in the Init where you would normally expect it.

You could make the property a part of the class you're using and check it's value rather than PEMSTATUS() which has got to be a lot of overhead.

So, have .cSourceAlias = "" in the base class. Then you can check IF EMPTY(.cSourceAlias); *!* We need to initialize()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform