Subject | Re: [IBO] Data Display Issue |
---|---|
Author | Jason Wharton |
Post date | 2002-07-08T17:50:38Z |
Put a TIB_ComboBox on the grid.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Christian Gütter" <cguetter@...>
To: <ibobjects@yahoogroups.com>
Sent: Monday, July 08, 2002 9:22 AM
Subject: [IBO] Data Display Issue
> Hi,
>
> I am using a TIB_ComboBox to insert data into a SMALLINT field.
>
> The property .Items of the ComboBox is populated in the following
> way:
> 1st invoice
> 2nd invoice
> 3rd invoice
>
> I use the .ItemValues property in the following way:
> 1
> 2
> 3
>
> So what the user sees as "1st invoice" is stored as "1" in
> the database.
>
> This all works fine :-)
>
> But I have to display this data in an TIB_Grid, and the grid
> always displays the values which are stored in the DB (1, 2, etc.)
> Of course, this is not very user-friendly, but I could not figure
> out how to tell the grid to show the user-friendly values like
> the ComboBox does.
>
> Any hints?
>
>
> TIA,
> Christian