Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views vs cursoradapters
Message
From
16/06/2015 14:33:29
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
16/06/2015 14:29:50
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01621008
Message ID:
01621033
Views:
59
>>>>Whatever a view can do, CA does, plus twice as much with half the overhead.
>>>
>>>How is it half the overhead?
>>>
>>>If I have to see, say, the customer name associated with an invoice as well as the amount, why is a CA more efficient than using a view?
>>
>>1. don't need the dbc
>>2. can do it all in code (prgs), and you only need pass the handle. Don't need the named connection (aka DSN) to edit it.
>>2.b you can subclass your CA's at will, can't do that with views.
>
>1. I don't need a dbc to use a SQL view from VFP.
>2. I create a handle once when opening the program and use it for all SQL operations. I started with DSN's so I still use them but I've used DSNless connections (all .prg) in later apps.
>
>3. Never saw a need to subclass a SQL view.

Oh, I meant comparison with VFP-side views. As for SQL views, there's still the matter of what you use VFP-side to connect to them. Even there you still have the choice.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform