Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DbGetProp(cName,'View','Tables') doesn't work.
Message
From
16/07/1998 14:42:48
 
 
To
15/07/1998 23:28:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00117424
Message ID:
00118251
Views:
28
>>>>I can't get DbGetProp(cName,'View','Tables') to work, it always returns just empty spaces. I thought it would give me a list of tables that were used to create the view. I notice that it's read/write so I =DbSetProp('vNames','View','Tables','Names') then =dbGetProp('vNames','View','Tables') and it returns "Names".
>>>>Is that what it's for, so I can assign tables to a view? What good is that?
>>>>
>>>>How can I get a list of tables that were used to create a view?
>>>>
>>>>TIA
>>>
>>>lcSQL = alltrim(dbgetprop(lcViewname,"view","sql"))
>>
>>Thanks, that helps. Still wish the 'Tables' option worked though.
>
>The tables prop is really an 'updatetables' property. It is meant to be a space delimited list of tables that have update fields specified. If your view is not updateable, this property will return nothing.

Thanks.
Didn't realize I was only testing in on Non-Updatable views.
Bill Morris
Previous
Reply
Map
View

Click here to load this message in the networking platform