Adobe Dreamweaver Forums



Last 10 THreads :         Scroll background image??? (Last Post : kolnikoff - Replies : 3 - Views : 4 )           »          Display relationships between objects (Last Post : jwoozy - Replies : 0 - Views : 1 )           »          Spry horizontal menu bar question (Last Post : danilocelic AdobeCommunityExpert - Replies : 1 - Views : 2 )           »          How to Change Spry Menu Links (Last Post : saviornt - Replies : 3 - Views : 4 )           »          Confused about link to ,jpg (Last Post : Murray *ACE* - Replies : 12 - Views : 13 )           »          Image is covering up bullets (Last Post : Murray *ACE* - Replies : 9 - Views : 10 )           »          background url link (Last Post : Murray *ACE* - Replies : 3 - Views : 4 )           »          Error: #1009 Stage_resizeHandler(); (Last Post : hyperbola - Replies : 0 - Views : 1 )           »          Global Username Variable (Last Post : Greg Lafrance - Replies : 3 - Views : 4 )           »          Upgrade to SDK 3.1 (Last Post : AJC5327 - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Cold Fusion
 
Tags:

Reply
  #1 (permalink)  
Old 07-21-2008, 06:41 PM
perezn470
 
Posts: n/a
Diggs:
Default UPDATING BIKE LICENSE PAGE

OK STUMMPED AGAIN...LOL.

I have a Search page then a results page then a details page then an
details/update page then a confirmation page. I am just trying to set up a
simple update page that will update the records that someone else filled in to
correct any errors. When you type in the something to search for in the search
page it goes fine. that populates the results page just fine, where i have a
unique number as the link to the details/update page. but when you click on
the link to take you to the details/update page, i keep running into issues.
It seems to be centered on the fields that have a cfinput option in the search
page. i am going to paste the areas from each page that give me the issues.
This is the error message i keep getting:
Attribute validation error for tag CFSELECT.
The value of the attribute QUERY is invalid. The 'Query' attribute must be
defined if the 'Value', 'Display', or 'Group' attributes are defined.

The error occurred in
C:\Inetpub\wwwroot\dashboard\Training\Bikes\RECbik edetail.cfm: line 82

80 : <td><div align="center">
81 : <cfselect name="StreetDir"
82 : value="#BikeResult.StreetDir#"
83 : required="no">
84 : <option value=""></option>

NEXT I AM ATTACHING THE ACTUAL CODE...

SEARCH PAGE...
<td><div align="center">
<cfselect name="StreetDir"
required="no">
<option value=""></option>
<option value="N">NORTH</option>
<option value="S">SOUTH</option>
<option value="E">EAST</option>
<option value="W">WEST</option>
</cfselect>
</div></td>

RESULTS PAGENot displayed on the results page just processed)

<cfset WhereClause = " 0=0 ">
<!--- Build subclause for Street Direction --->
<cfif Form.StreetDir IS NOT "">
<cfset WhereClause = WhereClause & " and StreetDir = '" & form.StreetDir &
"'" >
</cfif>


and on the DETAILS/UPDATE PAGE:

<td><div align="center">
<cfselect name="StreetDir"
value="#BikeResult.StreetDir#"
required="no">
<option value=""></option>
<option value="N">NORTH</option>
<option value="S">SOUTH</option>
<option value="E">EAST</option>
<option value="W">WEST</option>
</cfselect>
</div></td>

Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-21-2008, 07:34 PM
Dan Bracuk
 
Posts: n/a
Diggs:
Default Re: UPDATING BIKE LICENSE PAGE

Your error message is very specific and tells you exactly what the problem is. Is there something about it you don't understand?
Reply With Quote
  #3 (permalink)  
Old 07-21-2008, 09:07 PM
paross1
 
Posts: n/a
Diggs:
Default Re: UPDATING BIKE LICENSE PAGE

Really..... sounds like a job for plain old <SELECT> since he isn't using it with a query.....

Phil
Reply With Quote
  #4 (permalink)  
Old 07-24-2008, 04:39 PM
perezn470
 
Posts: n/a
Diggs:
Default Re: UPDATING BIKE LICENSE PAGE

ok i have tried it with select and cfselect and it didnt work.

now i am thinking i have to add a parameter at the top but not sure what or
how....lol.

and then i know i have to repeat it for all of the other multiple choice ones
that are on there also. just need to be sent in the right direction...

Reply With Quote
  #5 (permalink)  
Old 07-24-2008, 05:43 PM
MGTF
 
Posts: n/a
Diggs:
Default Re: UPDATING BIKE LICENSE PAGE

On line 82 of the first code snippet, you reference "#BikeResult.StreetDir#".
This indicates that you are retrieving the value a table field named
"StreetDir" with the query named "BikeResult" (e.g. <CFquery name =
"BikeResult" datasource = somedatabase>). Make sure that your spelling and
capitalization match on query name, fieldname.

Reply With Quote
  #6 (permalink)  
Old 07-25-2008, 02:05 PM
perezn470
 
Posts: n/a
Diggs:
Default Re: UPDATING BIKE LICENSE PAGE

DONE AND DONE spelling and case all match.... it works for the regular search
page just not this one that i am trying to set up to update records that need
to be corrected. and it is just on those that have the multiple choice options
in the <select> or <cfselect> that are giving me this message...

Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 05:13 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk