Subject | Re: [IBO] Problem to migrate IBX to IBO! |
---|---|
Author | Jose Ostos |
Post date | 2005-07-28T17:28:32Z |
If you already have the problem that you can't open the form, there is a
consistency problem betwen the .pas and .dfm files and something does not
match (some component is declared in one file and not the other or there is
a uses caluse missing). I recommend you manually edit both the .pas and .dfm
files with a plain text editor and remove all reference to the IBO
components and delete the corresponding files in the "uses" clause so that
you can open the form again and try again. Once you can open your forms, I
recommend you make backups so that is something goes wrong again, you can go
back and try again.
Regards
Jay
----- Mensaje original -----
De: "Fellipe Henrique" <fellipe@...>
Para: <IBObjects@yahoogroups.com>
Enviado: Jueves, 28 de Julio de 2005 08:21 a.m.
Asunto: Re: [IBO] Problem to migrate IBX to IBO!
consistency problem betwen the .pas and .dfm files and something does not
match (some component is declared in one file and not the other or there is
a uses caluse missing). I recommend you manually edit both the .pas and .dfm
files with a plain text editor and remove all reference to the IBO
components and delete the corresponding files in the "uses" clause so that
you can open the form again and try again. Once you can open your forms, I
recommend you make backups so that is something goes wrong again, you can go
back and try again.
Regards
Jay
----- Mensaje original -----
De: "Fellipe Henrique" <fellipe@...>
Para: <IBObjects@yahoogroups.com>
Enviado: Jueves, 28 de Julio de 2005 08:21 a.m.
Asunto: Re: [IBO] Problem to migrate IBX to IBO!
> Thanks for answer Helen,
>
> But, I want to change all component IBX to IBO, but when I open the Form,
> with contained IBX Component, the error appears, and the form isn't
> create,
> and I don't now how to change the component...
>
> The only method is I create a new Form? with new component IBO?
>
> Thanks for All,
>
> Fellipe H.
>
> ----- Original Message -----
> From: "Helen Borrie" <helebor@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Thursday, July 28, 2005 9:59 AM
> Subject: Re: [IBO] Problem to migrate IBX to IBO!
>
>
>> At 09:13 AM 28/07/2005 -0300, you wrote:
>> >Hello, I'm here again.. :-)
>> >
>> >I have a problem to migrate my system with IBX to IBO, when I put the
>> >TIBODatabase with TIBOTransaction in my aplication, when I open a Form
>> >with I use TIBDataset the errors appears...
>> >
>> >Error creating form: Access violation ate address 4005701 in module
>> >'rtl70.bpl'. Read address C08B0A6A.
>>
>> TIBDataset is not compatible with TIBODatabase. Replace your TIBDatasets
>> with TIBOQueries. You must replace all traces of the IBX components.
>>
>> You should also understand that IBO's connection model is not the same as
>> IBX's. A TIBODatabase has an embedded transaction, like the VCL's
>> TDatabase. It might be simpler, initially, if you avoid the
>> TIBOTransaction and refer all of your transaction "business" to this
>> embedded default transaction. A TIBOTransaction becomes useful when you
>> want to operate with multiple transactions.
>>
>> With an IBX-to-IBO conversion, it isn't possible to do a "straight swap"
> of
>> components as one does with a VCL-to-IBO conversion. IBX has a lot of
>> special workarounds for architectural issues that simply don't arise in
>> IBO. Study the properties and methods of TIBODatabase and TIBOQuery, to
>> work out the modifications you need to do.
>>
>> Tip: make good use of the green "Hierarchy" button in the IBO help file,
>> to lead you quickly to the documentation for the ancestor classes.
>>
>> 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 !
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>
>
>
> ___________________________________________________________________________
> 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
>
>
>
>
>
>
>
>
>