🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

DBExpress Bug? Stack Overflow

#117
From: Mitch McInelly
Date: Wed, 03 Nov 2004 18:54
20 lines
1625 bytes
Try this one...


I have 2 SQL databases in my C++Builder 6.0 app connected using 2 
TSQLClientDataSet Componenets as tables, and then 2 TDBGrids to show the 
data.  The fist database is a CUSTOMERS database and the second is a WIDGETS 
database (multiple widgets per customer).

First I define a Lookupfield in my Widgets database that is linked back to 
the CUSTOMERS db by clientid and displays the CUSTOMERS->NAME in the widgets 
grid.

Then I try to set WIDGETS->MASTERSOURCE = CUSTOMERSOURCE and then boom - 
stack overflow.

Why is it I can't define a lookupfield in a slave table using DBEXpress? 
I've installed Patch #4.

Thanks for looking.
Mitch McInelly 
Technical Details
Message-ID: <418929a5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!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,5610635f448302e9,start
X-Google-Attributes: gidfb4e2,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Mitch McInelly" <mitch@agencysoftware.com>
From: "Mitch McInelly" <mitch@agencysoftware.com>
Newsgroups: borland.public.cppbuilder.database.dbexpress
Subject: DBExpress Bug?  Stack Overflow
Date: Wed, 3 Nov 2004 10:54:47 -0800
Lines: 22
Organization: Agency Software, Inc.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 207.88.115.45
Message-ID: <418929a5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099508133 207.88.115.45 (3 Nov 2004 10:55:33 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail