User Profile
Collapse
-
cfupdate always in upper case?
OK now I'm having issues when an item is edited. I got the new items to work in upper case. Now I can't get it to covert the edited field to alway be in upper case. Here's the coding: <cfupdate Datasource="#da tasource#" tablename="Item s" formfields="Ite mID,Artist>. I tried both Ucase(Artist) and UPPER(Artist). Ucase has no errors, but doesn't do anything and UPPER errors out. How would I go about adding always upper... -
Got it I needed to use UCase. -
Add field always in upper case?
Hello I have a Coldfusion page that goes to a sql 2008 server. I'm trying to make it convert what ever the user enters to all upper case. So far I tried this Values ('#Form.UPPER(A rtist)#', but so far it errors out saying "The UPPER method was not found". How would I go about so it will change anything in the Artist field to upper case?
Thanks -
check box Coldfusion 9 question
Hello i"m trying to use two check boxes when selected I want it to change how it does the order by. So far I have this:
Code:<CFIF isDefined("Form.artist") IS "YES"> ORDER BY products.artist </CFIF> <CFIF isDefined("Form.qoo") IS "YES"> ORDER BY products.QtyOnOrder DESC </CFIF>
Last edited by acoder; May 23 '12, 01:35 PM. -
Speaking of the session scope. I just looked at it and:
<cfparam name="Session.P Type" default="edit">
So it's set as the default. My issue is when the page loads it won't go back to edit. Do I need to do a onload maybe?Leave a comment:
-
Default radio button
Hello I'm trying to make a sertain radio button the default. How would I get about doing this? Here is my coding so far:
Code:<td> Edit <input type="radio" name="Ptype" value="Edit"<cfif #Session.PType# IS "Edit">CHECKED</cfif> onClick="this.form.submit();"> Print <input type="radio" name="Ptype"
-
More than 6 months query
Hello I have a table that looks like this:
Code:<td><div align="center"><strong><cfset dtDiff = (qsearch.ReceiptDate - qsearch.LAST_SOLD) /> #DateDiff( "yyyy", "12/30/1899", dtDiff )# Years, #DateFormat( dtDiff, "m" )# Months, #DateFormat( dtDiff, "d" )# Days, </strong></div></td>
-2 Years,...
No activity results to display
Show More
Leave a comment: