Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set relation to in SQL database
Message
De
11/12/2006 04:58:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/12/2006 02:04:31
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01176444
Message ID:
01176456
Vues:
9
>Dear all,
>Just completed a conversion of our app to SQL database from VFP6.
>A lot of the reports done were using set relation to master files to grab description/names.
>With the SQL database where we no longer can utilise "set relation" to grab these descriptions, (e.g. report cursor contain customer code only, looks up to customer master file to grab customer name). Besides using sql to join tables (in this case, a lot of tables), are there any other ways that we can use ?
>Thanks in advance.
>Yau

Having tables in SQL server doesn't remove "set relation" capability. However even in pure VFP creating cursors for report is a better choice than "set relation" IMHO.
If you want to use "set relation" you can still do it getting data from needed tables into cursors (be it SPT,RV or CA cursors).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform