 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Michael Rachow Guest
|
Posted: Wed Sep 01, 2004 9:21 pm Post subject: No data in an invisible JdbTable |
|
|
Sometimes I'm using "unvisible" QueryDataSets which means
such a QDS isn't bound to any data aware component at all or
this data express component isn't shown on the surface.
The problems are for example the picklist value is not there in the DataSet
or an invisible JdbTable is empty at all.
Now it seems to me that data are transfered from the DataSet to the
data express component only when this component becomes visible.
(To check this I had placed a JdbTable on a panel with Dimension 0,0
and placed this panel on some Dialog. So the JdbTable isn't visible
but contains now all the data).
Does anybody know what method is called at the moment JdbTable is shown
to transfer the data to the table?
Thanks in advance
Michael
|
|
| Back to top |
|
 |
Olaf Raether Guest
|
Posted: Fri Sep 03, 2004 4:10 pm Post subject: Re: No data in an invisible JdbTable |
|
|
Michael Rachow wrote:
| Quote: | Sometimes I'm using "unvisible" QueryDataSets which means
such a QDS isn't bound to any data aware component at all or
this data express component isn't shown on the surface.
The problems are for example the picklist value is not there in the DataSet
or an invisible JdbTable is empty at all.
Now it seems to me that data are transfered from the DataSet to the
data express component only when this component becomes visible.
(To check this I had placed a JdbTable on a panel with Dimension 0,0
and placed this panel on some Dialog. So the JdbTable isn't visible
but contains now all the data).
Does anybody know what method is called at the moment JdbTable is shown
to transfer the data to the table?
Thanks in advance
Michael
|
After setting the dataset, Jdbtable openīs the dataset.
But maybe your problem is with the picklist.
Open the QueryDataset of the Picklicklist at the end of jbinit().
jbinit() {
...... a lot of init stuff;
qdsPicklistDataset.open();
}
Hope this helps
Olaf Raether
|
|
| 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
|
|