Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBGETPROP(viewname, 'view', 'Tables')
Message
 
To
29/03/2001 22:23:16
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00490178
Message ID:
00490216
Views:
9
>Hi,
>
>The command DBGETPROP(viewname,'View','Tables') is at the heart of one of the downloadable utilities in the files section - Findtbl.scx. I've learned that it returns only the names of the tables in a view whose fields have been set to updateable. Which leaves me clueless for those views that are for recordsources only. I've started setting the fields of included tables as being 'updateable' but not setting the 'send updates' flag so I can get the complete list of views for any table. My question is this: Is there any reason why I should not set the otherwise read-only views' fields as updateable?
>
>There's nothing in Hacker's Guide or in the programmers guide concerning this.
>
>Thanks in Advance,

Actually, I find it better to only use views for updateable data. Anything I don't plan to update I just use a select statement to a cursor or SQL Passthrough. For ease of modification, all data access in our app goes through a standard data access object which handles updates and logs all data changes to our transaction log file.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Previous
Reply
Map
View

Click here to load this message in the networking platform