dayat wrote:
I am sorry, its intention make and vanish odbc of comand of freepascal
(I hope I more or less understand your question, and that you can understand me) The TODBCConnection component is on the SQLdb tab of the component palette in Lazarus. Drop it on a form just like a TButton. (I assume you are familiar with that one) You can also create and destroy the component in code: uses odbcconn; ... var ODBCConnection:TODBCConnection; ... ODBCConnection:=TODBCConnection.Create(nil); ... ... ODBCConnection.Free; You can execute queries using the TSQLQuery component (in the sqldb unit; also on the SQLdb tab in Lazarus). The Lazarus/FPC wiki also gives some information about how to connect to a database and execute queries (e.g. http://wiki.lazarus.freepascal.org/Lazarus_Database_Tutorial). Regards, Bram _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
