Database Newbie needs help lazarus / 16-Databases ---------------------------------------------------------------------- MaVeRiCk2060 · 2011-04-20 06:53 Hi everybody, I have been programming a lot in times of Turbo Pascal and I have written some fun programms using Lazarus. Now I would like to use Lazarus to write a useful programm. There is a SQL Database (MSSQL) I want to connect to and write a program to add/edit/delete data in the tables. Can anyone show me a link to a good documentation on how to get connected to the database? This document should be in German or English please. Thank you all in advance. MaVeRiCk ---------------------------------------------------------------------- nicke85 · 2011-04-20 06:58 Hi Maverick User Tkramer3 has made excellect video tutorial for SQL Databases it can help you a lot http://www.lazarus.freepascal.org/index.php/topic,10172.0.html ---------------------------------------------------------------------- nicke85 · 2011-04-20 07:10 Also if you want on german language and to know advanced programming here is full Lazarus tutorial by one german GURU.. http://www.youtube.com/user/TheRegRunner Why to read..!? Cheers ---------------------------------------------------------------------- suddendeath · 2011-04-20 08:19 thank you so much for the link i will look into it.. i was really hoping to use tbdf but seems it is way out dated, guess i will be using sql ---------------------------------------------------------------------- MaVeRiCk2060 · 2011-04-20 08:58 Quote from: nicke85 on April 20, 2011, 08:58:12 amHi Maverick User Tkramer3 has made excellect video tutorial for SQL Databases it can help you a lot http://www.lazarus.freepascal.org/index.php/topic,10172.0.html Thanks for the links nicke85, but the tutorial is for MYsql. I'm looking for something to connect to an existing Microsoft SQL database. Do you have a link for that as well? Does Anybody know what properties need to be set in the Connector Type of TSQLConnector? Thanks MaVeRiCk ---------------------------------------------------------------------- nicke85 · 2011-04-20 09:10 I personally didn't work with MSSQL for now because i use only FB and MySQL.. Maybe u can look into ZEOS forum to find your solution and combine with Lazarus.. http://zeos.firmos.at/index.php If found something I'll post here..please post you too if found solution Tkramer3 give to us new tutorials!! ---------------------------------------------------------------------- kodok_buncit · 2011-04-20 10:14 use SQLDB it can connect to mssql via ODBC ---------------------------------------------------------------------- MaVeRiCk2060 · 2011-04-20 10:25 Quote from: kodok_buncit on April 20, 2011, 12:14:48 pmuse SQLDB it can connect to mssql via ODBC Thanks for the info, but I'm looking for a how-to on this subject. Do you know one? MaVeRiCk2060 ---------------------------------------------------------------------- paweld · 2011-04-20 10:43 Code: [Select]with ODBCConnection1 do     begin       KeepConnection:=false;       LoginPrompt:=false;       Driver := 'SQL Server';       Params.Add('Server=MSSQL_SERVER_NAME');       Params.Add('Database=MSSQL_DATABASE_NAME');       Params.Add('User Id=MSSQL_LOGIN');       Params.Add('Password=MSSQL_PASSWORD');       Params.Add('Trusted_Connection=False;');       Transaction:=SQLTransaction1;       Connected:=true;     end; but personally I use ZEOS Pozdrawiam / Best regards Paweł Dmitruk ---------------------------------------------------------------------- MaVeRiCk2060 · 2011-04-20 14:01 Thanks for all the help. I got it working with an ODBC Connection. Thanks a lot.