Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculated field
Message
From
20/01/2017 10:10:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
20/01/2017 06:54:56
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2016
Database:
MS SQL Server
Application:
Desktop
Virtual environment:
Hyper-V
Miscellaneous
Thread ID:
01646855
Message ID:
01646918
Views:
72
>>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform