Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to modify a view on the fly
Message
De
22/04/2008 10:56:39
 
 
À
22/04/2008 03:10:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01312116
Message ID:
01312372
Vues:
17
>>Hi,
>>
>>I have a remote view defined in the DBC and would like to add fields to it at run time but there is a catch-22. Remote views have to be buffered either row or table, so they cannot be ALTERed. So the question becomes, how can I define a view on the fly, starting from the one in the DBC but adding the required fields, yet not pollute the DBC with superfluous views?
>>
>Hi,
>
>Alternatively you can create a local "(Remote)ViewsOnly.DBC" on the fly at runtime, say in GetEnv('temp'). See also Home()+'\tools\gendbc\gendbc.prg'.
>
>
>hth
>-Stefan


Thank you Stefan.

Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform