Just migrated from VB6 to Lazarus and Firebird lazarus / 16-Databases ---------------------------------------------------------------------- asdf · 2010-10-19 10:28 I'm so new to Lazarus. After seeing some video tutorials, I saw the tutor used 4 controls such as TIBConnection, TSQLTransaction,TSQLQuery and TDatasource. And the last one is TDBGrid to disply data. Before that in VB6 I always used sql1 = "select * From product Order By productcode" Dim cndb As New ADODB.Connection Dim rsdb As New ADODB.Recordset cndb.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=inventory1.mdb;Persist Security Info=False" cndb.Open rsdb.Open sql1, cndb, adOpenStatic, adLockPessimistic Text1.text=rsdb.Fields(0) etc.... Could you please help teach writing code in Lazarus to connect firebird the same style as I did in VB6. Thank you in advance. ---------------------------------------------------------------------- xenblaise · 2010-10-19 10:34 try to read that post first; http://forum.lazarus.freepascal.org/index.php/topic,10811.0.html after a few test, you may ask again and continue discussions here