Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids and views
Message
From
14/05/1998 02:00:34
 
 
To
11/05/1998 04:06:57
Quinn Mayo
Quantified Pty Ltd
Melbourne, Australia
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00098431
Message ID:
00099322
Views:
26
Hi Quinn ---

>What do you mean by the dataenvironment??

The DataEnvironment is a form container for tables associated with that form. Edit your form. Hit right-click. Choose Data Environment. All will be revealed :)

>Also, does create sql view only work with databases or can it work with free tables?

A view has to be stored in a database. It's a static query, more-or-less. Lets say you wanted a table that represented all members in the state of Florida for your club. If you wanted to manipulate that result set as a table and map fields to controls in a form, a view is a good idea. The view could be created by:

OPEN DATABASE mydatabase
CREATE VIEW fla_members AS ;
SELECT * FROM members WHERE state = "FL"

After this, you would open "fla_members" as a table.
Is this clearer now??
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform