Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listing views in the dataenvironment.
Message
From
13/08/1999 09:23:58
 
 
To
13/08/1999 09:19:53
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00253368
Message ID:
00253369
Views:
14
ADBOBJECTS(ArrayName, cSetting) will return the tables and view in the current database.

>How can I list the views available in the forms dataenvironment, and further, how can I list the fields in the view after the user selects which view they wish to see the fields for?
>
>I can easily do this for tables selected from local directories, but can't seem to find a way to access the dataenvironment to list items therein.
>
>I am trying to select one of the views from the dataenvironment and, once selected, fill in a listbox with the fields of the selected view. Is there a simpler way to accomplish this. What If I want to expand to look directly for databases and tables from SQL Server instead of creating views in the FoxPro database and dataenvironment?
>
>Thanks!
>Tom.
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform