Subject Re: [IBO] how to use FocusedDataSource?
Author Helen Borrie
At 16:41 22/08/2008, you wrote:
>i have one main datamodule which contain ib_session, ib_connection,
>ib_transaction each one. and my application using mdi form type.
>each form contains ib_transaction individual.
>the problem is when i want to check FocusedDataSource from
>ib_connection.ib_session.FocusedDataSource Av comes.
>why? how to the best way to check FocusedDataSource?
>can someone help?

Make sure you test first whether *any* datasource has announced, e.g.,

if connection.ib_session.FocusedDataSource <> nil then .....