Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculated field
Message
De
20/01/2017 10:10:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/01/2017 06:54:56
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:
01646918
Vues:
73
>>>>>is possible to create a calculated field in a VFP table?
>>>>
>>>>As Borislav said, not directly. You could probably do something rules.
>>>>
>>>>Tamar
>>>
>>>Calculated field is present in BROWSE,
>>>I was hoping I had missed something.
>>>
>>>I will use DEFAULT for the INSERT and explicit UPDATE,
>>>but the space in the DBF was the thing I wanted to avoid.
>>
>>BTW why you need it?
>>You can have it in Browse, in Grid in every control you want.
>
>It is not a direct visible table, it is used on background with a data schema,
>automatic calculated fields simplify the code..


As Borislav said you don't need it. In SQL server too, except for the persisted ones, they are just definitions filled in during a select.

You can index a cursor on the fly, and also as Hilmar pointed out you could index on an expression (what a calculated field is).
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform