Thanks,
I eventually found the answer myself as well. You have to right click on the TQuery component and select New Field then add a calculated field. I was trying to do it from the DBGrid component and was getting confused.
Cheers
Glenn.
Hi all,
I am wondering if anyone knows hows to use calculated fields with dBGrid. I am using C++Builder v6 Enterprise version. At the moment I am using the VCL data source and query components to connect to a remote MySQL database. Then I am displaying the query results in a DBGrid.
This...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.