🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Refreshing jdbTable after table change.

#10416
From: Shaomei Ruan
Date: Fri, 24 Sep 1999 00:00
19 lines
1124 bytes
If your jdbTable has a QueryDataSet connect to it, all you need to do is
just to call myQueryDataSet.refresh(), the jdbTable will update its
content.

Shaomei

Doug Thistlethwaite wrote:
> 
> I am working on a JDK1.2 application using swing and the database
> connectivity stuff.
> 
> I have a frame with a jdbTable that displays a simple table.  How do I
> tell this table to update itself after the database has been modified?
> Currently, I have to exit the application and restart it to see the
> modifications to the table.
> 
> Thank you,
> 
> Doug
Technical Details
Message-ID: <37EBBCA1.71C4C81A@geocities.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37E91637.168414CB@dupreeinc.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,bddb5ebc309814ea
X-Google-Attributes: gid111d45,public
From: Shaomei Ruan <sruan@geocities.com>
Subject: Re: Refreshing jdbTable after table change.
Date: 1999/09/24
Message-ID: <37EBBCA1.71C4C81A@geocities.com>
X-Deja-AN: 529140353
Content-Transfer-Encoding: 7bit
References: <37E91637.168414CB@dupreeinc.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: @Home Networks
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing