<cfif ProdCount LTE "3" AND GTE "1">  --->  <cfif ProdCount LTE "3" AND
ProdCount GTE "1">

-----Original Message-----
From: Jay Patton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 9:40 AM
To: CF-Talk
Subject: can anyone help?


Hello all,

Im getting an error that i cant figure out here... everything looks fine to
me but maybe someone else can see something. here is the error..

Error Diagnostic Information
Just in time compilation error

Invalid parser construct found on line 98 at position 30. ColdFusion was
looking at the following text:

GTE
Invalid expression format. The usual cause is an error in the expression
structure.
The last successfully parsed CFML construct was a CFIF tag occupying
document position (98:2) to (98:6).

AND HERE IS MY CODE:

<cfquery datasource="#datasource#" name="find_subcats">
  SELECT * FROM SubCats
  WHERE TopCatID = #URL.CategoryID#
  ORDER BY SubCat
  </cfquery>
<cfset ProdCount = prodpage.RecordCount>

  <cfoutput><center><font class="boldtext">#prodpage.Category#
</font></center></cfoutput><br>

<center>
  <table cellspacing="0" cellpadding="4" border="0" width="30%">


  <CFPARAM NAME="URL.StartRow" DEFAULT="1">
  <cfloop query="prodpage">
  <cfoutput query="prodpage" startrow=#URL.StartRow# maxrows=6>

!! this is line 98!! <cfif ProdCount LTE "3" AND GTE "1">

  <cfif ProdCount EQ "0">
  <tr>
  </cfif>

  <td colspan="4" align="center" valign="bottom">
  <a
href="Details.cfm?#URLToken#&ItemID=#ItemID#&CategoryID=#CategoryID#"><img
src="images/#ItemPic#" border="0"></a><br>
  <font class="boldtext"><a
href="Details.cfm?#URLToken#&ItemID=#ItemID#&CategoryID=#CategoryID#">#ItemN
ame#</a></font></td>

  <cfif ProdCount EQ "3">
  </tr>
  </cfif>

 </cfif>

 <cfif ProdCount LTE "6" AND GTE "4">

  <cfif ProdCount EQ "4">
  <tr>
  </cfif>

  <td colspan="4" align="center" valign="bottom">
  <a
href="Details.cfm?#URLToken#&ItemID=#ItemID#&CategoryID=#CategoryID#"><img
src="images/#ItemPic#" border="0"></a><br>
  <font class="boldtext"><a
href="Details.cfm?#URLToken#&ItemID=#ItemID#&CategoryID=#CategoryID#">#ItemN
ame#</a></font></td>

  <cfif ProdCount EQ "6">
  </tr>
  </cfif>

 </cfif>

  <cfset ProdCount = ProdCount + 1>

  </cfoutput>

  </cfloop>
  </table>
  </center>

Any help would be much appreciated.
Thanks,

Jay Patton
Web Design / Application Design
Web Pro USA
406.549.3337 ext. 203
1.888.5WEBPRO
www.webpro-usa.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to