Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Views based on Views
Message
 
À
06/10/2001 14:15:05
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00565188
Message ID:
00565232
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
>
>This has been forcing me to use standard SQL Cursors for my reporting, which I don't mind, but I'd like to keep to the framework ideals. Does anyone have a suggestion? The data in view1 is usually the Id of it's underlying table.
>

I tend to use SQL code in my reports and bypass the views. SQL code for reports tend to be a lot more hairy than what I'll use in my views and I like to avoid the types problems you're seeing. I normally do this knowing full well if I switch backends that I will need to switch over to SPT or stored procedures. I think it's a reasonable trade-off.

However, with the latest version of the framework you can wrap these in a SQL pass through connection and hit local data instead of SQL server. I'm not entirely sure if it's possible to do this w/o ODBC or (under VFP 7) OLE-DB. If not, maybe there should be. I haven't had an opportunity to try this, so YMMV.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform