🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11190

Mapping JdbComboBox Text to Code

#11190
From: Brian
Date: Thu, 24 Jun 1999 00:00
10 lines
1223 bytes
I'm just learning JBuilder 3 and I'm working with the JdbComboBox.  I have a
column that stores (in an Access DB) an integer code (0, 1, 2, 3), but needs
to display "text" choices (Sun, Mon, Tues, Wed).  What is the best way to
accomplish this?

I don't want to create a separate table with the text choices.  I would also
rather not have the integer codes displayed in the comboboxes with the text
mappings.

Thanks in advance!
Technical Details
Message-ID: <F0tc3.87185$_m4.688992@news2.giganews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e4870bde48ab107,start
X-Google-Attributes: gid111d45,public
From: "Brian" <pangburn@bit.csc.lsu.edu>
Subject: Mapping JdbComboBox Text to Code
Date: 1999/06/24
Message-ID: <F0tc3.87185$_m4.688992@news2.giganews.com>
X-Deja-AN: 493423075
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@GigaNews.Com
X-Trace: sv1-RBxPdrW0y8XPEetisJ8lfWpbUhsauOwG6lI5Ch6xKGWQ09WO++scNepJdBI2kUshkka37TCpQnm8HJC!RZVSFkIhZZn/
Organization: Giganews.Com - Premium News Outsourcing
X-MSMail-Priority: Normal
NNTP-Posting-Date: Thu, 24 Jun 1999 11:28:21 CDT
Newsgroups: borland.public.jbuilder.java.swing