Subject Re: [IBO] Temporarily Disconnecting from FB
Author Robert martin
Great idea !

Thanks Jason. Will give it a go once I finish my current job :)

Rob Martin
Software Engineer

phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com

Wild Software Ltd



Jason Wharton wrote:

>Write a routine that goes through all of the datasets for the connection and
>store aside the bookmark in Strings[] array and the pointer to the dataset
>in the Objects[] array. Then, after it reopens go through the stringlist
>and reference the Objects[] array and open the dataset and set the bookmark.
>
>Might need some work to avoid gotchas here and there for various reasons,
>but this is a start.
>
>Jason Wharton
>
>
>
>
>>-----Original Message-----
>>From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
>>Behalf Of Robert martin
>>Sent: Thursday, April 06, 2006 1:49 PM
>>To: IBObjects@yahoogroups.com
>>Subject: Re: [IBO] Temporarily Disconnecting from FB
>>
>>
>>Hi. Yeah I know, but with about 100 screens, many with
>>multiple grids
>>etc and not knowing which would be open, it would be a fairly major
>>undertaking :)
>>
>>Rob Martin
>>Software Engineer
>>
>>phone +64 03 377 0495
>>fax +64 03 377 0496
>>web www.chreos.com
>>
>>Wild Software Ltd
>>
>>
>>
>>Dmitry Beloshistov wrote:
>>
>>
>>
>>>Hello, Robert!
>>>You wrote to <IBObjects@yahoogroups.com> on Thu, 06 Apr 2006
>>>
>>>
>>08:59:06 +1200:
>>
>>
>>>Rm> I know I could write code to reactive all these but it would be
>>>Rm> difficult to get the cursors on the right record (in
>>>
>>>
>>grids) etc. Is
>>
>>
>>>Rm> there a better way?
>>>
>>>Store unique record ID (PK) before disconnect and locate
>>>
>>>
>>record for stored
>>
>>
>>>ID after reopen?
>>>
>>>WBR,Dmitry Beloshistov AKA [-=BDS=-]
>>>
>>>
>>>
>>>
>
>
>
>___________________________________________________________________________
>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 !
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>