ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 9th, 2005, 06:34 AM
icesun icesun is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 2 icesun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m
Reputation Power: 0
Problem with frame

Hi.
I'm trying to get a list displayed using a search.
If I put in a search condition that has many rows in the SQL table, I get a blank (white) page, but if I the search condition only has under 200 values in the table, I get the list.

I have a page called search_drawing.cfm, where I collect all the id's that match the given search:

Code:
 
<html>
<head>
	<title><cfoutput>#Drawings#</cfoutput></title>
</head>

<cfset records = get_recordid.recordid>

<cfif #get_recordid.recordcount# IS 0>
	<html>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<link href="../styles.css" rel="stylesheet" type="text/css">
	</head>
	<body bgcolor="RGB(77,93,106)">
	<font class="report_header"><center><cfoutput>#No_drawing_found# - #search_address# #search_type# #search_designer#</cfoutput></center></font>
	<cfabort>
</cfif>

<cfif #get_recordid.recordcount# GREATER THAN 1>
<cfloop query="get_recordid" >
	<cfset records = records & "," & #recordid#>
</cfloop>
</cfif>

<cfset getList = "rep_drawings_list.cfm?usedFind=yes&drawingId=" & #records#>

<cfoutput>
  <frameset cols="40%,*">
    <frame name="left" SRC="#getList#" scrolling="auto">
    <frameset rows="65%,*">
      <frame name="top"  SRC="rep_blue.cfm" scrolling="no">
      <frame name="bottom" SRC="rep_blue.cfm" scrolling="auto">
    </frameset>
  </frameset>
  <noframes></noframes>
</cfoutput>
</html>



When I do 'view source' on the blank page, I get a list of all the ID's, so it's finding them ... but it doesn't go to the page rep_drawings_list.cfm.

Any suggestions on what is going on here?

Reply With Quote
  #2  
Old May 9th, 2005, 08:32 AM
icesun icesun is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 2 icesun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m
Reputation Power: 0
Found the answer

There is a limitation of 256 characters for the url ... so, I'm changing the code

Quote:
Originally Posted by icesun
Hi.
I'm trying to get a list displayed using a search.
If I put in a search condition that has many rows in the SQL table, I get a blank (white) page, but if I the search condition only has under 200 values in the table, I get the list.

I have a page called search_drawing.cfm, where I collect all the id's that match the given search:

Code:
 
<html>
<head>
	<title><cfoutput>#Drawings#</cfoutput></title>
</head>

<cfset records = get_recordid.recordid>

<cfif #get_recordid.recordcount# IS 0>
	<html>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<link href="../styles.css" rel="stylesheet" type="text/css">
	</head>
	<body bgcolor="RGB(77,93,106)">
	<font class="report_header"><center><cfoutput>#No_drawing_found# - #search_address# #search_type# #search_designer#</cfoutput></center></font>
	<cfabort>
</cfif>

<cfif #get_recordid.recordcount# GREATER THAN 1>
<cfloop query="get_recordid" >
	<cfset records = records & "," & #recordid#>
</cfloop>
</cfif>

<cfset getList = "rep_drawings_list.cfm?usedFind=yes&drawingId=" & #records#>

<cfoutput>
  <frameset cols="40%,*">
    <frame name="left" SRC="#getList#" scrolling="auto">
    <frameset rows="65%,*">
      <frame name="top"  SRC="rep_blue.cfm" scrolling="no">
      <frame name="bottom" SRC="rep_blue.cfm" scrolling="auto">
    </frameset>
  </frameset>
  <noframes></noframes>
</cfoutput>
</html>



When I do 'view source' on the blank page, I get a list of all the ID's, so it's finding them ... but it doesn't go to the page rep_drawings_list.cfm.

Any suggestions on what is going on here?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Problem with frame


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT