Subject | A few questions |
---|---|
Author | lobolo2000 |
Post date | 2001-08-06T02:23:24Z |
I am new to IBO but I can say that it is an excellent suite of components. I
have however a few questions:
1- In my first shot at making an IB_component, I encountered a rather
strange phenomenon where setting the datafield at design time (after having
set the datasource property and a query dataset) through the object
inspector gives an 'Invalid class typecast' error. Clicking on it while the
datasource property is empty causes no problem, and I get an empty dropdown
list. Setting it at runtime works like a charm. Using any other IB component
works fine, so the problem is definitely not in the query but in my
component. I am sure I am missing something obvious. Any ideas?
2- Is it possible to retrieve a database's column default values at design
time from the server, so that any new query referencing those columns will
automatically acquire
these defaults?
3- Is it possible to enter column settings (defaults, blank is null,
boolean, etc...) in a central location, and have any queries automatically
inherit these settings?
TIA
_________________________________________________________
Do You Yahoo!?
Get your free @... address at http://mail.yahoo.com
have however a few questions:
1- In my first shot at making an IB_component, I encountered a rather
strange phenomenon where setting the datafield at design time (after having
set the datasource property and a query dataset) through the object
inspector gives an 'Invalid class typecast' error. Clicking on it while the
datasource property is empty causes no problem, and I get an empty dropdown
list. Setting it at runtime works like a charm. Using any other IB component
works fine, so the problem is definitely not in the query but in my
component. I am sure I am missing something obvious. Any ideas?
2- Is it possible to retrieve a database's column default values at design
time from the server, so that any new query referencing those columns will
automatically acquire
these defaults?
3- Is it possible to enter column settings (defaults, blank is null,
boolean, etc...) in a central location, and have any queries automatically
inherit these settings?
TIA
_________________________________________________________
Do You Yahoo!?
Get your free @... address at http://mail.yahoo.com