Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote views and multiple data sources.
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Remote views and multiple data sources.
Miscellaneous
Thread ID:
00201614
Message ID:
00201614
Views:
31
Hi,

I have three sets of data: testing, training, and live, so I created three connections (Testing, Training, and Live) in my project.
What is the best way to organize remote views to have ability to switch between data sources?

1. For each table on backend create three remote views in the project. For example: v_test_reasons, v_train_reasons, v_live_reasons and choose one of them like this

cSource = "test"
Use ("v_"+cSource+"_reasons")

2. ???
Igor Gelin
Database Developer
Next
Reply
Map
View

Click here to load this message in the networking platform