Migate IBX to FireDAC

180 views
Skip to first unread message

Damián Giorgi

unread,
May 4, 2023, 5:57:57 AM5/4/23
to firebird-support
Hello, does anyone have an example or tool to migrate a project made with IBX to FireDAC? Thank you

Dimitry Sibiryakov

unread,
May 4, 2023, 6:00:41 AM5/4/23
to firebird...@googlegroups.com
Damián Giorgi wrote 04.05.2023 4:31:
> does anyone have an example or tool to migrate a project made with IBX to FireDAC?

https://www.google.com/search?q=delphi+migrate+from+IBX+to+FireDAC

Use a programmer, Luke!

--
WBR, SD.

Damián Giorgi

unread,
May 4, 2023, 6:42:58 AM5/4/23
to firebird-support
Yes, I already followed these steps. The problem is that when the fields of an FDQuery are predefined in the data module, it gives an error in the conversions. Thank you.

Dimitry Sibiryakov

unread,
May 4, 2023, 6:46:31 AM5/4/23
to firebird...@googlegroups.com
Damián Giorgi wrote 04.05.2023 12:42:
> The problem is that when the fields of an FDQuery are predefined in the data
> module, it gives an error in the conversions.

So the obvious first step for migration is to get rid of all predefined
fields, right?..

--
WBR, SD.

i...@kaabnl.nl

unread,
May 4, 2023, 6:48:56 AM5/4/23
to firebird...@googlegroups.com

Just edit your DFM files, changing the TibxQuery into TFdQuery (search/replace/all), then load the unit, which will correct the rest, and go from there.


Virus-free.www.avg.com

Daniel Rail

unread,
May 4, 2023, 9:09:05 AM5/4/23
to firebird...@googlegroups.com

Hi,

 

You can also take a look at Mida Converter (Total Conversion – Mida Converter).  At the time that we converted from IB Objects and FIB Plus to IBDAC, we did create an application to go through the source code to do the conversion, and at the same time we were unifying on which component sets that we were going to use.  Mida Converter wasn’t as advanced as it is now, when we did the conversion.  Depending on how many source files and IBX components to convert, Mida Converter might be a good option.

 

Daniel Rail

 

Sent from Mail for Windows

--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/08f4d868-8e93-479e-8332-952f6b2aed74n%40googlegroups.com.

 

hamacker

unread,
May 11, 2023, 1:00:24 PM5/11/23
to firebird...@googlegroups.com
With Delphi (folder bin) there is a cmd command called 'reFind.exe', this utility is used to search/replace old classes/methods to newone in the entire project, and can remove units from "uses" too. There are .ini configuration files to migrate dbx, ado and bde to firedac, but not only databases related, you can use them to convert XE7 to XE8 renaming old to new APIs. if you understand .ini, you can create a new .ini for other processes.
There are samples in this directory:
C:\Users\Public\Documents\Embarcadero\Studio\<yourversion>\Samples\Object Pascal\Database\FireDAC\Tool\reFind\

Em qui., 4 de mai. de 2023 às 06:57, Damián Giorgi <dpgi...@gmail.com> escreveu:
Hello, does anyone have an example or tool to migrate a project made with IBX to FireDAC? Thank you

--
Reply all
Reply to author
Forward
0 new messages