The Free Dictionary  
mailing list For webmasters
Welcome Guest Forum Search | Active Topics | Members

Profile: adamlevine
About
User Name: adamlevine
Forum Rank: Newbie
Occupation:
Interests:
Gender: None Specified
Home Page
Statistics
Joined: Sunday, April 1, 2018
Last Visit: Tuesday, June 12, 2018 3:50:44 AM
Number of Posts: 2
[0.00% of all post / 0.02 posts per day]
Avatar
  Last 10 Posts
Topic: How to replace the field type and value in dbgrid?
Posted: Friday, June 8, 2018 2:39:57 AM
Thanks
Topic: How to replace the field type and value in dbgrid?
Posted: Sunday, April 1, 2018 10:43:08 PM
How to replace the field type and value in dbgrid?

My SQL query:

Code: XML [Select] DBForm.DBquery.SQL.text:='select callstart, callend, origin, destination, direction from callrecord;

termtype are integer values 0...3, instead I would like to show in dbgrid column fields: None, Incoming, Outgoing or Internal, accordingly. These text values are not stored in any DB table to be joined with; it is also not allowed to add smth to this DB (in my case). Is there a way how to do this "on fly", when the dbgrid obtains the values from the DB?

Main Forum RSS : RSS
Forum Terms and Guidelines | Privacy policy | Copyright © 2008-2018 Farlex, Inc. All rights reserved.