Article View: borland.public.jbuilder.java.swing
Article #10509Re: How to rerefresh the picklist for the jdbComboBox
From: Eric
Date: Thu, 16 Sep 1999 00:00
Date: Thu, 16 Sep 1999 00:00
27 lines
1297 bytes
1297 bytes
To synchronize the jdbcombobox call this method .
public void Reindex_ComboBox(){
try {
dataSetCombo.post();
long internalRow = dataSetCombo.getInternalRow();
dataSetCombo.dropAllIndexes();
dataSetCombo.goToInternalRow(internalRow);
} catch (Exception ex){}
}
Eric
martin a οΏ½crit dans le message <7q2urm$nqp6@forums.borland.com>...
>I made a simple database application which uses the LOOKUP-PICKLIST for a
>jdbcombobox, then i added a separate frame which adds/ and edits the table
>from which the lookup is hooked. when i refresh my app using the jdbNav
the
>contents of the jdbcombobox is not synchronized. I have to restart my
>application for the new data to show in the jdbcombobox...
>
>what should i do????
>
>
>
Technical Details
Message-ID:
<7rr1vq$7vc21@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7q2urm$nqp6@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,9c8b9175d484e536 X-Google-Attributes: gid111d45,public From: "Eric" <eric@menlog.com> Subject: Re: How to rerefresh the picklist for the jdbComboBox Date: 1999/09/16 Message-ID: <7rr1vq$7vc21@forums.borland.com> X-Deja-AN: 525900103 References: <7q2urm$nqp6@forums.borland.com> Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.swing