Prof. Paulo Amaral wrote:
I am tired of being using illegal passenger of windows.  Therefore I am
migrando for the Linux.  However, for that I see, she is this well the
reception that I receive, instead of being received in the group. So,  Do I
must come back and applaud Bill Gates or to join me the Linus Torvalds?

Would you like apple pie as well?

This is what I would can "an unfortunate joke". I bet it wasn't meant to be aggressive, but perhaps was misplaced.

I welcome you to Linux, Lazarus and this newsgroup.

Now, going back to the task at hand.

> Also, if you have examples with sqldb component packge or other, please, send me.

Have you already successfully created a Lazarus Database Application that conects to a simple database like DBase or SQLite? This is the first step, then you can go for PostgreSQL.

The most basic component is TDbf and is the best documented one. You can find it´s tutorial here: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Tdbf_Tutorial

I recommend that you create first a program that uses TDbf and then switch to Postgre.

The data-aware components represent fields and are connected by the correct setting of properties to a TDataSource, witch represents a table and is also connected to the database components, be it TPSQLDatabase, TSQLiteDataSet or something else.

So if you create a database program with TDbf and wish to change to another database system you only need to delete the TDbf component you dropped on the form, drop a new database component and change the property on the DataSource to point to the new database system.

> Is it possible to update postgresql tables with dbcontrols (datasource, dbnavigator, dbedit...) ?

Yes, that is what the components are made for.

Did you try looking at the wiki? It is located here: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Database_Tutorial

Do you have difficulty understanding english? I can write for you in portuguese (suposing this is your mother tongue).

I do have a database program and can send you. It works with SQLite. The comments are in portuguese. Is it ok for you? I just have to take a look at it to make sure it works before sending it.

thanks,

Felipe

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to