Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Environment
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00520949
Message ID:
00521395
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
>Thanks Curtis,
>
>That appears to have worked. Do you have any idea what was causing the message
>"Property setting will not take effect until data environment reloaded."
>in the first place?...just curious.
>
>Thanks again,
>Mike

Well, I haven't spent much time on the inner workings of the DE. (As a matter of fact I rarely use it.) But the .Init() happens after the .OpenTables(), but the .BeforeOpenTables() happens before it. The .Load() (I think) happens before the .BeforeOpenTables(). So, when you attempt a .CloseTables() (which is supposed to happen when destroying the Data Environment VFP wants to .Load() the DE before assigning cursors. So apparently the .CloseTables() does more than just close tables.
-cjh
Previous
Reply
Map
View

Click here to load this message in the networking platform