Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views in the DE
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00053848
Message ID:
00055892
Views:
27
>>>I'm not sure if I understand your problem, but I use views in forms' DEs all the time without adding the underlying tables, or opening them in the default session.
>>
>>That will not be necessary if you have all the tables in the DBC. In my case, only the view is in the DBC and the tables are free tables.
>
>What happens if you put the view in the DE with NoDataOnLoad = .T. and then requery in the form init? Does the order matter then?

Yes, I would say this would work and will also solve the problem of having to put SET DELETE ON in the ThisForm.DataEnvironment.BeforeOpenTables().
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform