🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1373

Problem with inserting record to Oracle DB

#1373
From: Jacek Jelonek
Date: Thu, 16 Dec 1999 00:00
20 lines
1002 bytes
Hi,

I have problem with inserting record into Oracle database.
I tried to do it using TTable component in following way:

T->Open();
T->Append();
// seting the fields 
T->..
//
T->Post(); <- error invalid nuber (types are correct!)

It does't work with Oracle but there is no problem 
in case of MSAccess.

When I used query everything is OK, but I wouldn't like 
to change eache TTable into TQuery.

Could you help me?
Jacek
Technical Details
Message-ID: <3858B6D6.DEC38075@cs.put.poznan.pl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,2aa82e59b5904142,start
X-Google-Attributes: gidfcd2b,public
From: Jacek Jelonek <jacek.jelonek@cs.put.poznan.pl>
Subject: Problem with inserting record to Oracle DB
Date: 1999/12/16
Message-ID: <3858B6D6.DEC38075@cs.put.poznan.pl>
X-Deja-AN: 561400222
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier