Article View: borland.public.jbuilder.database
Article #170Re: picklist will not populate from database
From: Peter Wetjens
Date: Fri, 21 Apr 2006 16:05
Date: Fri, 21 Apr 2006 16:05
43 lines
2451 bytes
2451 bytes
Hello Kevin, and others Nice of you to take some time for this. Below I included my code, because I don't understand your question. My guess, the answer is "yes". I had some println's in it to check what's coming in from the sql-server. Data comes in fine. In the database, both fields (template_name in template and user_template in user) are of the same type and length. I hope you can help, the project i'm working on is for my graduation as bachelor. Thanks, Peter "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com> schreef in bericht news:xn0el7k2whrik001-kdean@www.teamb.com... > Peter Wetjens wrote: > >>using Jbuilder2005, working on a application with Jdataexpress in >>combination with a Mysql-database. >>tried to rewrite the picklist example from Borland to my own needs, no >>luck. the app knows exactly how many records there are in the >>"picklist"-dataset, but doesn't display the actual data, just an empty >>column, in the right place, with length = number of rows. > > Have you set the display column to a column that actually has non-null > data? > > -- > Kevin Dean [TeamB] > Dolphin Data Development Ltd. > http://www.datadevelopment.com/ > > NEW WHITEPAPERS > Team Development with JBuilder and Borland Enterprise Server > Securing Borland Enterprise Server > http://www.datadevelopment.com/papers/index.html > > Please see Borland's newsgroup guidelines at > http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<444902b7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44468e94$1@newsgroups.borland.com> <xn0el7k2whrik001-kdean@www.teamb.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,31f881c625ff6d88 X-Google-Attributes: gid1073da,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Peter Wetjens" <peterwetjens@planet.nl> Newsgroups: borland.public.jbuilder.database References: <44468e94$1@newsgroups.borland.com> <xn0el7k2whrik001-kdean@www.teamb.com> Subject: Re: picklist will not populate from database Date: Fri, 21 Apr 2006 18:05:05 +0200 Lines: 45 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 80.61.249.52 Message-ID: <444902b7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1145635511 80.61.249.52 (21 Apr 2006 09:05:11 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail