I have a TQuery (qryGLTBLeft)
SELECT SUM (Balance)
FROM "c:\h\StdAcc\GL" t1
WHERE t1.Balance > 0
I have a TQuery (qryGLTBRight)
SELECT SUM (Balance)
FROM "c:\h\StdAcc\GL" t1
WHERE t1.Balance < 0
Each results in a field "SUM OF Balance" which I can easily
display from a TDBTextLeft and TDBTextRight - each having
a DataField Property.
But I need to somehow display the difference between
TDBTextLeft and TDBTextRight from (say) TDBTextDiff.
How can I do this?
SELECT SUM (Balance)
FROM "c:\h\StdAcc\GL" t1
WHERE t1.Balance > 0
I have a TQuery (qryGLTBRight)
SELECT SUM (Balance)
FROM "c:\h\StdAcc\GL" t1
WHERE t1.Balance < 0
Each results in a field "SUM OF Balance" which I can easily
display from a TDBTextLeft and TDBTextRight - each having
a DataField Property.
But I need to somehow display the difference between
TDBTextLeft and TDBTextRight from (say) TDBTextDiff.
How can I do this?