Received: from pl2.pl.lnf.it (lnf.inet.it [194.20.9.233]) by hub.org (8.8.8/8.7.5) with SMTP id EAA06197 for ; Tue, 25 Aug 1998 04:18:13 -0400 (EDT) Received: from nic2.bp.lnf.it by pl2.pl.lnf.it (5.x/SMI-SVR4) id AA29498; Tue, 25 Aug 1998 10:17:08 +0200 Received: from matteo.bp.lnf.it by nic2.bp.lnf.it (5.x/SMI-SVR4) id AA02965; Tue, 25 Aug 1998 10:15:51 +0200 Message-Id: <3.0.32.19980825101549.007373f4@nic2> X-Sender: theos@nic2 X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Tue, 25 Aug 1998 10:15:52 +0200 To: Andrzej Szydlo From: Matteo Cavalleri Subject: Re: ODBC,Delphi and BLOBS Cc: pgsql-interfaces@hub.org Mime-Version: 1.0 Content-Type: text/enriched; charset="us-ascii" First of all, thank you for you help. I am not new to C++ Builder, 1.0 and 3.0. I already have written database applications with Informix SE database and some components (i.e. to perform I/O operations on hardware ports.) I work for a no profit organization for handicapped children. I would like to build a distributed application to manage the medical recordset of our patients. The first step will use local SQL engines. Our SQL Engine, Informix SE v.5.x doesn't support BLOB fields and then I think to use PostgreSQL that seems to be a good, reliable and free product. But have a lot of trouble using PostgreSQL with BDE. I have created an example table like this create table prova ( nome char(20), altezza integer) ; then I try to manage table datas in a Windows 95 enviroment, using PostODBC and BDE. Both in the data section of SQL explorer and in a little program in C++ Builder 1.0 C/S & 3.0 C/S & Delphi 3.0 C/S, i get the same wrong behavior. Inserting 5 records with the "+" button only 2 records are correctly displayed and the others are lost. All the records however are correctly stored in the database: Closing and reopening the table will show all the correct records. Other refresh problems comes with the deletion button "-" and so on... To create this situation I do the following items: 1) I have created the prova table 2) In SQL Explorer, clicking on the created table, in the data section, using the navigation bar + key, I can see the wrong behavior (do your data section works weel inserting few record in a table?) 3) C++ Builder 1.0 C/S or 3.0 C/S or Delphi 3.0 C/S (then I think it is a BDE or ODBC problem) without writing code I have put a TTable linked to the table prova via postODBC. Than I put a TDataSource, a TDBGrid and TDBNavigator. The wrong behavior is identical to the SQL explorer data section. Note: I have upgraded the BDE to the 4.51 version and then to the 5.0 version. I have downloaded the version 6.3.2 of postgreSQL ,compiled and started on a SUN Sparcstation ULTRA with Solaris 2.6.