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

Click here to load this message in the networking platform