Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DbGetProp(cName,'View','Tables') doesn't work.
Message
From
15/07/1998 23:28:53
 
 
To
15/07/1998 12:53:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00117424
Message ID:
00117983
Views:
20
>>>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.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform