Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DbGetProp(cName,'View','Tables') doesn't work.
Message
De
15/07/1998 23:28:53
 
 
À
15/07/1998 12:53:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00117424
Message ID:
00117983
Vues:
21
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform