Subject RE: [IBO] Records show at design time but not runtime
Author Don Schoeman
>IMO, this isn't a good idea, since it breaks the layering. There
>should be some kind of try..except handling in the datamodule to
>ensure that the data access layer is actually ready for what you want
>the form to use it for.

It would be a good way to find out whether it's a problem of the order of
dependencies.

Regards,
Don Schoeman


-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On Behalf
Of Helen Borrie
Sent: 13 March 2006 02:52 PM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Records show at design time but not runtime


At 11:40 PM 13/03/2006, Don Schoeman wrote:
>Try placing the code in you main form's FormShow event. Hope it helps.

IMO, this isn't a good idea, since it breaks the layering. There
should be some kind of try..except handling in the datamodule to
ensure that the data access layer is actually ready for what you want
the form to use it for.

What is the *exact* SQL of your ib_query?

Helen



___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !



SPONSORED LINKS Customer database software Database development software
Database management software
Resume database software Database software Membership database software



YAHOO! GROUPS LINKS

Visit your group "IBObjects" on the web.

To unsubscribe from this group, send an email to:
IBObjects-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.