Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Views based on Views
Message
De
06/10/2001 23:53:53
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:
00565242
Vues:
15
>>
>>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,
I'm beginning to think you're right here. The trade-off was what I was trying to avoid.
And I'm not familiar with YMMV.
Gil Munk


"If a nation expects to be ignorant and free, it expects what never was and never will be." - Thomas Jefferson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform