Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local and remote views in the same app
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00199175
Message ID:
00199584
Views:
17
Rox,

>We have an app in design that will primarily use local views, but we have the situation to occaisionally tap an oracle source with a remote view. Any ideas how to handle this within the Mere Mortals framework?

It's very easy to use both local and remote views simultaneously in the Framework. There are three different places you can specify local/remote data access:

1. At the application level - The "Use Local Data" checkbox in the User Preferences form, specifies whether data enviroments use local or remote data by default.

2. At the data environment level - By default, data environments use the application-level setting to determine whether to use local or remote data. However, in the Business Object Builder, if you click the "Go to Next Page" button (->) you'll see a "Use Local Data Override" combobox. This combobox allows you to specify that, regardless of the application-level setting, all views in the data environment use either local or remote data.

3. At the cursor level - By default, all cursors use the data environment-level setting to determine whether to use local or remote data. However, in the Business Object Builder, if you edit a cursor by clicking the "Edit" button, you will see another "Use Local Data Override" combobox. This combobox allows you to specify that, regardless of the application-level or data environment-level setting, the cursor uses either local or remote data. This means that you can have cursors that use local data and cursors that use remote data in the same data environment.

So in your case, you could use either option 2 or 3.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform