726 Topics

Member Avatar for
Member Avatar for zoid777

Friends, I have two bugs I would like to fix,I know thier is someone out thier that can shed some light into this. First one is simple I don't know what I typed wrong for the date function it says this as below Missing argument name. When using named parameters …

Member Avatar for zoid777
0
144
Member Avatar for dkerr

Can I query a SQL Server 2000 mydatabase.mdf file directly via SQL? If so, how?

0
61
Member Avatar for zoid777

Hello friends, I want to validate this two checkbox variables on an action page and also an update page [code=coldfusion]<cfinput type="checkbox" name="gender"checked> </label></td> <td>Female</td> <td><label> <cfinput type="checkbox" name="gender"> </label></td>[/code] by default I checked one of them, how can I check if it is checked and what is the best way …

Member Avatar for zoid777
0
1K
Member Avatar for zoid777

I need some help with <cfquery>, I want to authenticate an add form so the user doesn't enter the same value twice or more so I used recordcount like this [code=ColdFusion]<cfquery name="cool.recordcount" datasource="#Request.proto#"> <cfif cool EQ 0> INSERT INTO proton( name, moon ) VALUES( '#Trim(Form.name)#', '#Trim(Form.moon)#', ) <cfif cool EQ …

Member Avatar for zoid777
0
157
Member Avatar for zoid777

Hello Friends, I want to upload an image to the server and also insert the image path into the database, I have a sample of my code below [code]<cfinput type="text" name="city"> </label></td> <td>State</td> <td><label> <cfinput type="text" name="state"> </label></td> <td>&nbsp;</td> </tr> <tr> <td>Email</td> <td><label> <cfinput type="text" name="email" validate="email" required="no" > </label></td> …

Member Avatar for zoid777
0
124
Member Avatar for kory27

I recently started using a remote image url to power my thumbnails on my website. i noticed a significant, but not across the board, slowdown in page load times. i ran an sql monitor and nothing is showing that would cause the issue, so i am wondering; 1. Would a …

Member Avatar for kory27
0
127
Member Avatar for Hercf

Hi everybody! I’d like to set up a dynamic “name” in coldfusion 8, with dreamweaver CS-3! I have 2 Cf checkbox forms: “my” , “your” and 2 Cf Image fields: “name”, “site”. Depending on selection, result must be: “myname” or “yourname”; “mysite” or “yoursite”. Could anybody give me a hint? …

Member Avatar for cmhampton
0
73
Member Avatar for jstama

Hi, I have a list of about 100 pages, each of them using date_create variable for the date they were entered in the database; these entries are from years 2005 to 2008. I need to list the ones from the last six months only, but without hardcoding specific values, so …

Member Avatar for cmhampton
0
116
Member Avatar for kory27

Does anyone know of a good slideshow component or snippet for cf? basically i would just like to rotate a few thumbnail size images in a featured area of my website. thanks.

Member Avatar for kory27
0
194
Member Avatar for kory27

Hi. I have two sets of code below. The first is part of my old code off a page called item.cfm. the second is the same code, but i have attempted to change the destination link to a url i have stored in my database for the button btnaddtocart.gif. that …

Member Avatar for cmhampton
0
66
Member Avatar for onetwothree

Apologies if this is a really basic question, but i am quite new to coldfusion. I have a database where i have some stored standard data in. i can search this database for the data I want, (eg 10 specific records of data), and output it to a form with …

Member Avatar for onetwothree
0
192
Member Avatar for 2bu

Does anyone here have programming experience with PHP and ColdFusion? I am looking for a comparison from someone who develops in both. Thanks

0
74
Member Avatar for kory27

I had the following stored procedure calling from a .cfm page via the following cfquery command; this is the cfquery code on my cfm page: [code]<cfquery name="GetProduct" datasource="Allposters3" cachedwithin="#CreateTimeSpan(0,4,0,0)#"> {CALL spNavProducts (#NavID#)}</cfquery>[/code] below here is the actual sql from spNavProducts which is called: [code]set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go …

Member Avatar for cmhampton
0
74
Member Avatar for muddpigeon

theres problem with this page and its annoying me sooo much basically because of the cfml code in the page its knocked the html and style of the page away. the web site is due this friday and im really stuggling any help would be appreciated [CODE]<cfquery name="GetUser" datasource="2ndhandbooks"> SELECT …

0
76
Member Avatar for muddpigeon

i have a problem with this page and neither me or my lecutrer can spot it. all i want it to do is display the details of the person who has just logged in. can any one help?? [CODE]<cfquery name="GetStudent" datasource="2ndHandBooks"> SELECT * FROM students WHERE matno = #Form.MatNo# AND …

Member Avatar for hinde
0
129
Member Avatar for kory27

Hi. I am running cf7 and have a problem. in my application.cfm i have this; <cfparam name="application.ImgPath" default="http://www.urbanposters.com/images/"> <cfparam name="application.TImgPath" default="http://www.urbanposters.com/images/thumbnails/"> <cfparam name="application.TImgPath2" default="http://www.urbanposters.com/images/thumbnails/"> <cfparam name="application.DImgPath" default="http://www.urbanposters.com/images/detail_images/"> Basically, they are the paths of my full size and thumbnail images. I am changing the way we are doing things, and the …

0
58
Member Avatar for Agreaves

Can anybody help me with info on creating a system 5 star voting system in coldfusion or javascript.

Member Avatar for Agreaves
0
87
Member Avatar for Twiggers

Hey guys I'm sure some of you have gotten in this situation before. Unfortunately I do not have the experience in CF to know how to do this myself. Basically I'm updating a clients webpage where the webmaster left (quit? who knows) And it is written in cold fusion. During …

Member Avatar for Nige Ridd
0
146
Member Avatar for zoid777

Hello Friends I ran into a syntax error updating a form, I have added a comment to the line below, Please could anyone tell me what I did wrong!!!! [code]<cfquery name="update student" datasource="#Request.super#"> UPDATE student SET studentfirstname='#Trim(Form.studentfirstname)#',. studentlastname='#Trim(Form.studentlastname)#',. address='#Trim(Form.address)#',. city='#Trim(Form.city)#',. state='#Trim(Form.state)#',. studentage='#Trim(Form.studentage)#',. studentclass='#Trim(Form.studentclass)#',. studentstartdate='#Trim(Form.studentstartdate)#',. studentgraduationdate='#Trim(Form.studentgraduationdate)#',. comments= <cfif Len(Trim(Form.comments)) GT 0> …

Member Avatar for zoid777
0
131
Member Avatar for BenR41

Check to see if a cfwindow exists When a window gets created by <cfwindow> coldfusion gives it a unique name and not the name you assigned it. I have found a work around in the way of checking for the title of the window as when you create a cfwindow …

0
42
Member Avatar for kory27

Hello. Does anyone have a good solution or code snippet for on the fly image resizing? basically, here is my issue. i have a product feed and the provider gives the url to the image, and the size of the thumbnail. i want to create the thumbnail on my pages …

0
58
Member Avatar for muddpigeon

ive recently started this web page for a course in uni. however one page is causing a bit of bother basically when i insert my table into the are i want it in the whole page is affected, ie images and lists lost. i have uploaded a word file with …

Member Avatar for hinde
0
90
Member Avatar for gpptst@email.it

Which type of license I need for a desktop standalone application developed on COLDFUSIONMX ????

Member Avatar for gpptst@email.it
0
83
Member Avatar for Jody2

Hi Everyone, I am trying to create a text file and send it to a secure server (other than our local one) with coldfusion. I have already added the correct permissions with the Coldfusion Administrator (MX 7) so that is not an issue. However, I am running into difficulties finding …

0
61
Member Avatar for lafalot

Hi, Please help! We have data that was input into SQL Server using activedit. This data has all kinds of inline styles, and it looks horrible. Is there a way to parse the data and get rid of all inline styles? Thank you for any help you can provide.

Member Avatar for MattEvans
0
116
Member Avatar for cpgenius

Hello, I've been searching and searching, but can't for the life of me find anything related to an answer. I'm working off of the code found [URL="http://www.scottpinkston.org/blog/index.cfm/2007/7/13/Image-Uploads-and-Resizing-with-ColdFusion-8"]here[/URL] and want to store the web path ([url]http://www.google.com[/url] & not c:\www\google\) into a database for later. Is there a function built-in which takes …

Member Avatar for lespaul00
0
67
Member Avatar for 4Dante

Hello, I'm relatively new to ColdFusion so please bear with me. I'm sure there's probably a simple solution to this but I've literally spent hours online trying to find something but to no avail. Anyway, all I'm trying to do is query a query using the count function. Exm: [code] …

Member Avatar for lespaul00
0
96
Member Avatar for federod

Hey guys I having a problem with the null values and I need help when I have a Null value or Empty value I need to make the price = 0. Because I will get this error The value "" cannot be converted to a number Here is the the …

Member Avatar for federod
0
65
Member Avatar for alakacha

How do you update checkboxes on a form in cold fusion? I am using the following code to update other form elements : <cfquery name="qry_content" datasource="A4265_gbci"> update tbl_emailsignup set firstname = '#form.firstname#' , lastname = '#form.lastname#' , email = '#form.email#' , job = '#form.job#', company = '#form.company#' , address1 = …

Member Avatar for Nige Ridd
0
80
Member Avatar for justapimp

I have coldfusion file that I am calling from my ASP page using the response.redirect() method. Inside my url string, I am passing a variable/value pair as shown below. [code] Response.Redirect("http://www.gpsit.com/tools/glr/index.cfm?acctuid=" + accntData.Uid); [/code] The page that I am calling is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> …

0
70

The End.