🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.dbexpress
Article #98

Unassigned Code error using Interbase 7.1 + dbExpress

#98
From: Elkin Gonzalez
Date: Wed, 01 Sep 2004 17:53
35 lines
2041 bytes
Hi everyone!

At this time I'm using Interbase 7.1 and dbExpress to build a
simple application. The problem is that, I created a simple
databse in Interbase using the IBConsole and then I tried to access it using C++ Builder 6.0 Enterprise.


Steps: 
In a blank project, dropped a SQLConnection and a 
SQLClientDataSet, both of them are linked. Then I tried the
connection to the database using the Connected property of the
SQLConnection and worked fine, then, with a simple SQL query on the CommandText of the SQLClientDataSet like: "select * from 
SiteCfg" and trying to set its Active property to true to 
execute the query, an error message appears sayng: "Unassigned 
Code". But if I try a second time, the error doesn't appear any 
more until I close the database connection and try again.


I've checked the database structure using IBConsole but it 
appears to be fine, maybe I'm doing something wrong but I can 
not see what.



P.S. This error does not appear if I use the example database 
EMPLOYEE.gdb that comes with the Interbase 7.1 installation.

Could you please help me solving this issue?


Thanks a lot for your help.

Regards,
Elkin Gonzalez.
Technical Details
Message-ID: <41360c7e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,979999c48ddfe083,start
X-Google-Attributes: gidfb4e2,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Elkin Gonzalez" <elkin.gonzalez@latinmail.com>
Sender: "Elkin Gonzalez" <elkin.gonzalez@latinmail.com>
Reply-To: "Elkin Gonzalez" <elkin.gonzalez@latinmail.com>
Subject: Unassigned Code error using Interbase 7.1 + dbExpress
Newsgroups: borland.public.cppbuilder.database.dbexpress
X-User-Info: 200.115.96.166     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41360c7e$1@newsgroups.borland.com>
Date: 1 Sep 2004 10:53:02 -0700
X-Trace: newsgroups.borland.com 1094061182 207.105.83.66 (1 Sep 2004 10:53:02 -0700)
Lines: 36
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail