Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not possible to scan dataenvironment objects!?
Message
From
22/06/1999 16:59:27
 
 
To
22/06/1999 16:36:53
Kenneth Downs
Secure Data Software, Inc.
New York, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00231556
Message ID:
00232728
Views:
23
>Andrus,
>
>I've tried both. When I first used VFP 3 I loaded tables up programmatically (before I knew who Drew Speedie was and why he recommended it). I've been
doing it in the DE for a few months and I miss three things from my old method: Control, control, and control.

I re-checked Drew VMP 3 ref guide and havent't found
that it is against dataenvironment.
Instead, its samples show how to add cursors to DE.
This is great step into visual design direction, less trivial code.

Where I can find information about Drew recommendation against DE?

>Basically, you can put a property on the form called cFilesToOPen. You then add these in comma-delimited list at design time. Your form's load can then step through, opening each one, and give the user a very precise message if one of them doesn't open.

I use something similar to

do opencursors with 'cursor1/alias1', ...., 'cursorn/aliasn'

and opencursors loops through its parameters.

>FWIW, I haven't a clue if it's faster or slower.

Seems to be bit faster but not a much.

>
>>I started to move to oppsite direction. I have some forms which require 20 free tables and some views opened by code. I re-coded those by adding them manually (!) to form DE.
>>
>>Currently those two forms: document list and document
>>selected from list to edit seems to work.
>>Can you tell me, why using code is better? It decreases form load speed a bit!
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform