🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1896

Re: Using a parameter multiple times

#1896
From: Freshy
Date: Tue, 13 Jan 2004 20:56
16 lines
1551 bytes
Thank you for the reply.

I tried that one last night, and the report engine choked on the Parameters
statement.

I was hoping that I could "trick" ADO (or Access) into allowing me to select
arbitrary data inline with my fields.  I know you can do something like
this:
SELECT ([AField] & 'Some Text') AS AModifiedField FROM [ATable] ;

I gues I was kind of hoping I could skip the actual field part of that
expression and just substitute the parameter.  I wonder if the operator (&)
has something to do with this.....  I will have to try this.

Thanks Again,
Ken
Technical Details
Message-ID: <40045b35$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40034ae2$1@newsgroups.borland.com> <4004128a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,1641a77b6273a1af
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-01-13 13:05:53 PST
From: "Freshy" <freshy_ss@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <40034ae2$1@newsgroups.borland.com> <4004128a$1@newsgroups.borland.com>
Subject: Re: Using a parameter multiple times
Date: Tue, 13 Jan 2004 14:56:23 -0600
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 66.5.139.20
Message-ID: <40045b35$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074027317 66.5.139.20 (13 Jan 2004 12:55:17 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail