Advertisement

05.02.2008 at 03:12AM PDT, ID: 23371119
[x]
Attachment Details

Using an <AS> tag in query i have problems in cfoutput.

Asked by panosms in ColdFusion Studio, Miscellaneous Web Development, ColdFusion Application Server

Tags: ADOBE, COLDFUSION

Hello experts.
i have a query like:
<cfquery name="artikel" datasource="#dsn#">
SELECT a.Art_ID,a.User_ID, a.Kat_ID,............
Output:
<input name="imageField3" type="image" class="imageFieldresult" id="imageField3" onClick="MM_openBrWindow('Detailansicht.cfm?Art_ID=<cfoutput>#URLEncodedFormat(WADAdboartikel.Art_ID)#','','')</cfoutput>"src="images/<cfoutput>#WADAdboartikel.Photo1#</cfoutput>" align="right"  width="60
                        " height="44" />
Now when i use  the query :
SELECT a.Art_ID as AID,a.User_ID, a.Kat_ID,............
Ihave an error :Art_ID is undefined in artikel.
Any help?
Start Free Trial
 
Loading Advertisement...
 
[+][-]05.02.2008 at 03:26AM PDT, ID: 21485602

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ColdFusion Studio, Miscellaneous Web Development, ColdFusion Application Server
Tags: ADOBE, COLDFUSION
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.02.2008 at 03:39AM PDT, ID: 21485633

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.02.2008 at 08:03AM PDT, ID: 21487220

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628