Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not Using DE
Message
From
01/03/1999 01:27:49
 
 
To
28/02/1999 21:59:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00192441
Message ID:
00192545
Views:
18
Thanks for the validation Phil! I kinda liked doing it this way and hoped that it was ok.

Bonnie

>Hi Bonnie,
>
>>I've pretty much adopted the same method as you (opening tables in the LOAD) and for pretty much the same reason ... paths. You're right, it sure seems easier and it works fine. Can anyone tell us what's wrong with doing it this way?
>>
>>Bonnie
>
>There is nothing wrong with this approach. The whole concept of dropping the DE came back when Codebook 3.0 was introduced for VFP 3.0. The framework used form classes, and a non-visual DE coded in a .PRG file...essentially a list of USE and SET RELATION statements accessed by the form class load event. It was noticed by many people that this approach seemed to load and display forms much faster than the standard form and visual DE combination.
>
>Since 3.0, VFP has improved performance in many ways. I'm not sure if the old load time conparisons hold true, but there is nothing wrong with dropping the DE all together and using the form class load event to set up your tables...so long as you have the appropriate methods to close them when you are done. This is what we do in our internal VFP development framework.
>
>
>Phil
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform