Having problems with JvDBComboBox
"mailforo" <[email protected]> Tue, 15 Feb 2005 21:33:38 -0000
| Newsgroups | gmane.comp.lang.delphi.jedi |
|---|---|
| Message-ID | <[email protected]> |
Hello, recently I've discovered this library, so I'm a newbie
developing with it.
I'm working on an application made with Delphi 7, using Firebird and
the IBX components to handle the database.
Seeing around all the Jedi VCL componentes, I found the JvDBComboBox,
whichseems to serve to my purposes. (I want to select a value from the
list to assign it to the field in a table)
So, I filled both lists. Items and Values. And the property
EnabledValues is set to true.
Items: 'Item1', 'Item2',...
Values: '1','2','3',....
DataSource := cliendDataSet //I said that to point out I'm working
with ApplyUpdates to save the changes.
DataField := fieldtofill
It seems work while I'm adding/deleting/editing registers, but
everytime I close the form, the following error messages appears:
'List index out of
bounds(-1)
Need to say:
a- I don't manipulate any property of the component at runtime.
Always was set at design time in the way described above. Just that.
b- I delete all the code in the OnClose methods an similars and
the error still remains
First, I'll appreciate any suggestion or tip to solve this. Second,
sorry for my english
Thanks, rochi
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Delphi-JEDI/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/