🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #1354

Re: LookupSQL

#1354
From: Tom Arnold
Date: Mon, 09 Feb 1998 00:00
26 lines
1540 bytes
No happiness.  I have had almost the identical code work before, but
suddenly it just goes blank in the component, which is what the OLH says
will happen if there is a mistake in the SQL.  Ohhh Well.
-- 
   Tom 
   Bena, VA

Romain Strieff [TeamB] wrote:
> 
> In article <34DE42C7.B79@inna.net>, tarnold@inna.net grudgingly admits...
> > Can anyone see why my LookUpSQL statement doesn't work?  Can't seem to
> > get a calculated field to work even though seem to be following the OLH
> > exactly.
> >
> >      SELECT LAST, FIRST FROM NAME                   <== This works, but
> >      SELECT LAST, FIRST || LAST AS FULLNAME FROM NAME     <== This
> > Doesn't
> >
> > When I say works, I get no errors from the FD, but when the code is run
> > it does not show in a ComboBox.  No other changes made in form.
> >
> Mmm, you are using FIRST in your calcfield and you don't have it in the
> field selections, try:
> 
>       SELECT LAST,FIRST, FIRST || LAST AS FULLNAME FROM NAME
Technical Details
Message-ID: <34DFC2A6.4BA8@inna.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34DE42C7.B79@inna.net> <MPG.f48fe504feff7ac98a686@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,5c3e29b88ebef55
X-Google-Attributes: gidff5a1,public
From: Tom Arnold <tarnold@inna.net>
Subject: Re: LookupSQL
Date: 1998/02/09
Message-ID: <34DFC2A6.4BA8@inna.net>
X-Deja-AN: 323620586
Content-Transfer-Encoding: 7bit
References: <34DE42C7.B79@inna.net> <MPG.f48fe504feff7ac98a686@forums.borland.com>
Mime-Version: 1.0
Reply-To: tarnold@inna.net
Content-Type: text/plain; charset=us-ascii
Organization: Microaid
Newsgroups: borland.public.vdbase.data.sql