Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another View Question
Message
 
To
15/07/1997 20:53:16
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00040124
Message ID:
00040132
Views:
28
>Back again. I forgot to ask for your thoughts on creating local views. Unfortunately the books I have don't have much info on creating them even though they appear to be a valuable tool in VFP.
>
>What's your opinion about the best way of creating local views... hard coded SQL statements (and where do you create/store them?) or using VFP's View Designer?
>
>Also, any ideas where I can find more info on creating "complex" views here on the 'net?
>
>MTIA,
>Mandy

IMHO Mandy,

For simple views use the View Designer. For more complex views, use CREATE VIEW... where you attach your (pretested, I hope) SQL code.

I use ad hoc SQL statements for things like populating combo boxes from AllCodes, and views where the same complex SQL-Select is used repeatedly (usually parameterized). It's a judgment call, and others may feel differently.

For example, Visual MaxFrame suggests views for ALL data entry, using tables ONLY for lookups.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform