 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Steve F Guest
|
Posted: Tue Jan 16, 2007 5:17 am Post subject: dbSwing with multiple frames |
|
|
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
|
Posted: Tue Jan 16, 2007 6:46 pm Post subject: Re: dbSwing with multiple frames |
|
|
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
|
Posted: Thu Jan 18, 2007 4:02 am Post subject: Re: dbSwing with multiple frames |
|
|
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 |
|
 |
|
|
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
|
|