ADO & DBGrid/ FireMonkey in Delphi XE2 - delphi

I would buy the new Delphi XE2 and port some D7 projects. I would buy the cheapest version (starter ?) and use the new Firemonkey Platform.
1/ I use the ADODB for MDB databases is this version compatible with it ?
2/ It seems that there is no DBGrid in Firemonkey is it true ?

1) I use the ADODB for MDB databases is this version compatible with it?
A:Yes you can still using ADO in a FireMonkey or VCL application in Delphi XE2. But only if your delphi edition is not Starter.
2) It seems that there is no DBGrid in Firemonkey is it true ?
A: Yes is true, but now using LiveBindings you could bind your data to a TStringGrid or a TGrid.

Related

RxLib for Delphi 10.4 with FireDAC?

I wish to migrate a huge Delphi 5 code using RXlib BDE Data-Aware controls to latest Delphi 10.4 Sydney with FireDAC. I wonder if there anywhere someone who already went through it and migrated RXlib version using BDE to FireDAC?

Delphi RAD Studio XE7 - no dbgrid component

I am trying to find database grid component (FireDAC driver), but there is nothing. I tried dbgrid, TFDGrid. I am using RAD Studio XE7 Architect.
Have someone encountered a similar problem?
I Do think that you are trying to create a multiplatform App (firemonkey). Create a windows VCL application and you will have the Data Access (datasource,...) and Data Control DBgrid and other components. Also, The Free Licence doesn't include the database components.
Embarcadero tells you to use the LiveBinding designer with a TStringGrid to simulate the DBGrid when creating multiplatform Apps.
Tips for VCL/Firedac: (create a datamodule where you drop your tfdconnection, and tfdtables), that way you will have access from all your projects units.

using delphi xe7 form(VCL) in delphi 7

Is there some possibility to use Delphi xe7 form in Delphi 7 project, without create DLL file? I found "Monkey-Mixer" which allows to use FMX form in VCL project, and I wonder is there same tool for use new VCL forms in older versions of Delphi?
Is there some possibility to use Delphi XE7 form in Delphi 7 project, without creating DLL file?
No there is not. You cannot link code from different versions of Delphi into the same executable.

ADO components are present in the Delphi 2009 Professional Version?

ADO components are present in the Delphi 2009 Professional Version? Currently I'm using delphi 5 professional version which does not include the ADO components.
thanks for help.
Yes, the Ado components are present in All the versions of delphi 2009.
Check the feature matrix of delphi 2009 and look for
dbGO™ for ADO connectivity for Win32 (MDAC 2.8)

Sybase Drivers for Delphi 2010

We are migrating from Delphi 6 to Delphi 2010,earlier we were using BDE engine to connect to Sybase Database from Delphi 6. We found out that Delphi 2010 does not support BDE.
We are trying with dbexpress but we are not able to catch the exception(raise error) thrown by Sybase.
Could you please let me know if there is any other driver except dbexpress to connect to Sybase Database from Delphi 2010.
Thanks.
Regards,
AS
You can use AnyDAC to connect to:
Sybase SQL Anywhere (AnyDAC native driver)
Sybase Adaptive Server (AnyDAC ODBC bridge).
I suspect your real problem is that you have the Professional version of Delphi rather than Enterprise. As far as I know, BDE can still be used with Delphi 2010.
With Delphi 6 the Professional version allowed connections to remote databases. Somewhere between Delphi 6 and Delphi 2010 that policy was changed.
Anyway, you really need to give up on BDE and move forward.
Edit: (jeroen)
The BDE for relational access (aka the BDE SQL Links technology) has been deprecated since 2002, about 2 years after the introduction of dbExpress in Kylix and Delphi 6.
You could try a workaround:
Install Delphi 6
Update BDE to the latest available version (there should be some updates on Embarcadero site, I hope)
Install Delphi 2010
IIRC the available SQL Links should not be removed (otherwise it would break the older version), and they should still work in Delphi 2010. But that's really a stopgap try.
Devart's UniDac can connect to Sybase without using dbExpress, but I never used it.
Sybase drivers for dbExpress is included in Enterprise version of Delphi. If that is not an option you can use dbGO (ADO) that is included in Professional.
You can try ZEOSLIB which contains SyBase connectivity, along with many other SQL dbs.
As far as I can see, it requires you to remove your Query/Table objects and replace them with its own Table and Query replacement objects, but then, so would moving from BDE to ADO/dbGo or dBExpress.
And you really should get the BDE out of your application. It's dead as a doornail.

Resources