Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote views and multiple data sources.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Remote views and multiple data sources.
Divers
Thread ID:
00201614
Message ID:
00201614
Vues:
32
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform