Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Zeos tools
Message
 
To
17/10/2001 13:30:17
General information
Forum:
Linux
Category:
Databases and Admin issues
Title:
Miscellaneous
Thread ID:
00569410
Message ID:
00569827
Views:
28
>Duh! I guess I did not realize that I did not need the dbexpress controls. I kept looking for a way to include the postgres in the SQLConnection control. From what you said the Zeos controls are almost direct replacements?

They were patterned after dbExpress, as most db components are, and they offer connections to PostgreSQL to do the standard stuff. You might need a dbExpress control, setting its datasource property to a Zeos control, so that a dbGrid data souce can be set to the dbExpress control. Most controls have two or three properties to set. Experiment around with combinations of them.
I'm eating lunch at work and don't have access to my Linux box. When I get home I'll check.

>So I can use the Zeos (dbExpress) controls to make the connection and then use the standard data-aware controls to use the data i.e. DBGrid. Is there something I'm supposed to change in a property or event within DBGrid so it would use the Zeos controls? I think I also have a Zeos controls directory. I don't recall what is in the directory. Is it possible that what ever is in the directory is a replacement for the standard data-aware controls?

Zeos doesn't replace dbExpress, it justs adds connectivity to Kylix for PostgreSQL the way dbExpress does for text or InterBase db sources.

>Of course I'm just attempting prevent the same error I made with dbExpress.
>
>On another note: I just finished a book on postgres. I'm very jazzed about the ability to add programming to the database. But of course it's another language to learn.

PostgreSQL interfaces easiest with C++.

> I wonder if there is a Delphi to postgres language yet?

I haven't seen one. When the Zeos controls are setup you can use SQL Pass through to fire triggers and packages (procs and funcs) on the PostgreSQL side.
Everything on the Kylix side is pure Object Pascal.

>When I decided that I was going to use postgres I stopped reading about Delphi and started reading about postgres. This of course got me into the heart of Linux and the setup for postgres. I'm very glad I did the research but it has taken time. But now I need to understand Delphi much better. I can get very simple demo programs from the Delphi book to work. But I need to understand the procedures required to get to the postgres data.

Unlike VFP, there are two distinct and separate methods for accessing data in Kylix: read only and read-write. Pascal is a great language, structured and strongly typed. Have fun!

>TIA
>John
Nebraska Dept of Revenue
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform