Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculated field
Message
De
21/01/2017 07:52:32
 
 
À
21/01/2017 04:58:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2016
Database:
MS SQL Server
Application:
Desktop
Virtual environment:
Hyper-V
Divers
Thread ID:
01646855
Message ID:
01646939
Vues:
46
>>>>>is possible to create a calculated field in a VFP table?
>>>>You need to create a view on the table and use that view
>>>
>>>Thank you.
>>>I need an index on computed field :(
>>
>>You can index a view -
>>
>>
>>&& form load 
>>use viewname in 0 nodata
>>select viewname
>>index on fieldname tag xxx
>>
>>&& later 
>>Viewparam1 = ...
>>
>>=Requery('viewname')
>>
>
>it is persistent ?
>Every update/delete/insert on table refresh view index ?

I think so - have not tested.

And I believe a view is the solution to your problem of a calculated field
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform