Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Views based on Views
Message
 
To
06/10/2001 14:15:05
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00565188
Message ID:
00565232
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform