BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dbSwing with multiple frames

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing
View previous topic :: View next topic  
Author Message
Steve F
Guest





PostPosted: Tue Jan 16, 2007 5:17 am    Post subject: dbSwing with multiple frames Reply with quote



I'm using a datamodule and data-aware components
OK on frame1 but have trouble getting any dbSwing
components to populate from a dataset or DataSetView
from a second frame (created in the Application1 class).
I can programmatically get at the data and put it in
regular swing fields but what is the trick to getting
the data-aware components to work?
Back to top
Kevin Dean [TeamB]
Guest





PostPosted: Tue Jan 16, 2007 6:46 pm    Post subject: Re: dbSwing with multiple frames Reply with quote



Steve F wrote:

Quote:
but what is the trick to getting
the data-aware components to work?

There's no trick, other than to ensure that the data set is actually open.
When you run this under JBuilder, are you seeing any exceptions in the console window? That is the most likely scenario, that something isn't quite right in the code and is throwing an exception.

--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Back to top
Steve F
Guest





PostPosted: Thu Jan 18, 2007 4:02 am    Post subject: Re: dbSwing with multiple frames Reply with quote



I first had some exceptions when the database wasn't opened
but remedied that and then didn't get any. In any case it works now. I think I was using a jdbComboBox incorrectly for one thing. Thanks.


"Kevin Dean [TeamB]" <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote:
Quote:
Steve F wrote:

but what is the trick to getting
the data-aware components to work?

There's no trick, other than to ensure that the data set is actually open.
When you run this under JBuilder, are you seeing any exceptions in the console window? That is the most likely scenario, that something isn't quite right in the code and is throwing an exception.

--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.