Advertisement

04.08.2008 at 07:03AM PDT, ID: 23304602
[x]
Attachment Details

Get the maxrows value  to the cfloop tag.

Asked by panosms in ColdFusion Application Server, Cold Fusion Markup Language

Tags: ADOBE, COLDFUSION

Hello experts.
I have a working code:
<cfloop  query="artikel" startRow="#StartRow_artikel#">
<cfquery name="getExtras" datasource="#dsn#">
      SELECT Extra_DE
      FROM Extras_All
     <cfif Len(artikel.Besonderheiten)>
      WHERE extra_ID in (#artikel.Besonderheiten#)
      <cfelse>
      where 1=2
     </cfif>
    </cfquery>
<cfoutput>#artikel.Hersteller_DE# </cfoutput>\<cfoutput>     #arraytolist(listtoarray(valuelist(getextras.Extra_DE,',')),', ')#              
      </cfoutput>
</cfloop>
How can i have so many rows for each page like the maxrows value i have?
The way it is now working is like that:
I have all the results on one page and because the maxrows is working too i have the other pages too.Start Free Trial
[+][-]04.08.2008 at 07:33AM PDT, ID: 21305625

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

 
[+][-]04.08.2008 at 08:35AM PDT, ID: 21306296

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.

 
[+][-]04.08.2008 at 08:56AM PDT, ID: 21306522

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 Application Server, Cold Fusion Markup Language
Tags: ADOBE, COLDFUSION
Sign Up Now!
Solution Provided By: Zvonko
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.08.2008 at 08:58AM PDT, ID: 21306541

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]04.08.2008 at 10:42AM PDT, ID: 21307677

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

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