math functions

Tim Davis timdavis at amug.org
Thu Mar 18 22:46:31 CST 2004


On Mar 18, 2004, at 5:43 AM, Ruslan Zasukhin wrote:

>> Hi im new to valentina and trying to work out how to do math 
>> functions on
>> fields. I want to be able to take the value of
>> one field and add it to the value of another field in a different 
>> table,  how
>> would I do this?
>>
>> I tried the sql string:
>>
>> Select   tableA_name,  (tableA_columnNumber + tableB_columnNumber)
>> from tableA, tableB
>>
>> How does valentina function with maths?
>
> Hi Elizabeth,
>
> You need create BaseObject method -- virtual field.
>
> Please read docs on this and check example

Ruslan, I presume math functions in sql will be coming in version 2.0?

Tim Davis



More information about the Valentina mailing list