725 Topics

Member Avatar for
Member Avatar for tapuwa2002

Downloaded autocomplete plugin. its not bring out results am using an access db. When I type in text it does the search but with no proposed results display in the drop down. Is there something missing? [CODE] <cfsetting enablecfoutputonly="true"> <cfparam name="q" default="" /> <cfquery name="qryGetCountry" datasource="dbtest"> SELECT DISTINCT Cities.RegionCity FROM …

Member Avatar for tapuwa2002
0
206
Member Avatar for danarashad

I am trying to figure out how to have a certain value as my selected value in a cfselect that is running a cfc? I am running a cfc, but when someone saves that answer in the database, when they go back into the form. I want the answer they …

Member Avatar for arrgh
0
157
Member Avatar for singharun

Hi, I am developing a small E-commerce site, but at one point i need your precious help. I want to print the order directly when the order will placed without clicking any print option. Any help will be appreciated. Thanks in advance. Regards, Arun

Member Avatar for arrgh
0
134
Member Avatar for tapuwa2002

I have created form where the values are taken from the form. I still get and an error when I put my form value in the statement. But when I run the statement separately it works but now when I combine it doesn't. [CODE] <cfif not isdefined("Form.frmpricerange")> <cfset Form.frmpricerange = …

Member Avatar for arrgh
0
107
Member Avatar for tapuwa2002

Hi guys Is there a way, where i can get two values from a option tag. I have form that needs to have values for it to display e.g My form looks like the following. [CODE] <form method="post" name="frmone" action="Result.cfm" enctype="multipart/form-data"> <select name="selvalues" id="selvalues" class="input_style-1" id="selvalues" style="height:19px"> <option value="1">Select Result</option> …

Member Avatar for tapuwa2002
0
155
Member Avatar for aksahoo17

Hi, I am new to ColdFusion , so i need so help from all.... I am going to do a form having multiple submit buttons in it . So how can i know which button was clicked. according to this i want different work... Like simple i want to do …

Member Avatar for aksahoo17
0
827
Member Avatar for mijorog

So I have a database that stores when someone leaves and when they return to. dayleft dayreturned I need to do a query and also an cfif to see if a date selected is between these dates. test - selected date the Here is my long if [CODE] <cfif (datecompare(vactrue.dayreturned, …

Member Avatar for arrgh
0
1K
Member Avatar for tapuwa2002

Hey guys I was hoping you help, I have a ms access database on my webserver. I want to select all the records with a certain date. But it seems not to work. [CODE] <CFQUERY NAME="qStuff" DATASOURCE="MyDb" maxrows="20"> SELECT * FROM Stuff; WHERE (((Stuff.RegDate)=#5/1/2004#)); </CFQUERY> [/CODE] When I do this …

Member Avatar for tapuwa2002
0
221
Member Avatar for kryptor

Hi all, I have a page setup that pulls my data using a query. I want to be able to move the data to the next query result after 60 seconds. Once the query reaches the end then I want the page to refresh and all the query again so …

Member Avatar for cfwebdeveloper
0
93
Member Avatar for igotdreams

Would you like to know when the Google spider or any other spider comes by your site? Well now you can with this handy snippet. It will send you an email for everypage it visits.

Member Avatar for jsmall26
0
162
Member Avatar for dottomm

Thank you in advance to anyone who can help this coldfusion noob. What I am trying to do seems easy enough but clearly I am having very serious problems. ;D I am trying to populate a pdf with data from a database. //Here is the page that lists all the …

Member Avatar for jsmall26
0
402
Member Avatar for sattua

Hi mi problem is very rare, when I try to create a ds (datasource), the coldfusion administrator return me this error: Error editing/creating this dsn (MyDsnName) The value "MyDsnName" cannot be converted to a number It's like he is trying to convert the ds name to a number, why?!?!. the …

Member Avatar for jsmall26
0
84
Member Avatar for fairlands

Hello I have about ten sites, none very large which we have hosted on our own server since 2004. However as we had reduced the number of sites to only about ten we no longer need a dedicated server so Ild like to move the sites to a new host …

Member Avatar for cfwebdeveloper
0
125
Member Avatar for goxmedia

Hello, In CFQUERY operations, can someone advise as to the following: 1. What data types REQUIRE single quotes for UPDATE and INSERT statements? * We are using MS SQL 2008 R2 with CF9 2. Is it best practice to use CFQUERYPARAM for EVERY statement now days? I searched everywhere but …

Member Avatar for cfwebdeveloper
0
89
Member Avatar for mijorog

I have a Database that stores a residentID, apartment, MoveInDate, and MoveOutDate. I am trying to run a query from this database to find the resident row where the MoveOutDate is NULL so I can enter the date they moved out. My Coldfusion is not the best and here is …

Member Avatar for arrgh
0
166
Member Avatar for Abakiz

Hello I'm new to ColdFusion, for my work I've been asked to learn it.. I'm coming from an extensive PHP background. For the life of me I cannot figure out how to simply take a query from SQL and load it into an array and then display it. I though …

Member Avatar for cfwebdeveloper
0
209
Member Avatar for matt_stutts

I have a form that contains a cfgrid named idGrid (using CF9). Contains four columns: Autonum (for now, the pk), CR_ID (fk), ID, and IDType. These come from tblIDs in my db. The grid is editable but not the Autonum or CR_ID fields (select="no"). I am using code straight from …

Member Avatar for Sombra
0
403
Member Avatar for zero_sequence

Hi all, i made a cfchart from an example and worked perfect. afterwards i tried to bind a new cfm page containing only the cfchart so the use will see a loading message in the index page until cfchart is loaded within cfdiv... worked fine but i cant see any …

Member Avatar for cfwebdeveloper
0
84
Member Avatar for danarashad

I am having a weird issue. I am using cfautosuggest, when I type child into the search box the cfc should return "Other Minor Child in Custody,Grandchild, Great Grandchild", but it doesn't. The weird part is when the query runs I do a dump in the cfc and it does …

Member Avatar for arrgh
0
153
Member Avatar for danarashad

I am running into a problem. I am trying to use coldfusion's form validation. When I use the name and id fields in the form tag. The validation is skipped. Can you not name the form while using CF's form validation? <cfform action="page.cfm" enctype="multipart/form-data" method="post" name="conferenceForm" id="conferenceForm" >

Member Avatar for cfwebdeveloper
0
97
Member Avatar for SimonSiew

I have an query output with 200+ records in it which i am displaying 100 at a time. and i am using cfFlush to display a wait message while it s loading. (which i cant figure out how to get rid of after its loaded) my question is (and i'm …

Member Avatar for arrgh
0
271
Member Avatar for zooby

I have the following template that I am using to upload files into AMAZON S3. I'll display the template right here: [CODE]<cftry> <!---ACCESS KEY ID = SECRET ACCESS ID = BUCKET NAME = cic-audio FILE NAME = amazon_s3_test.txt---> <cfparam name="URL.step" default="view"> <cfoutput> <cfif URL.step eq "view"> <cfscript> // IMPORTANT: Set …

Member Avatar for matricol
0
270
Member Avatar for swskpper

I am a newbie and hope that someone can help. I have a <cfform that adds and updates records. I have 3 <cfselect statements that are dynamic. I user the selected attribute to display the current value if this is an update. The first one works fine. The 2nd and …

Member Avatar for bregan507
0
288
Member Avatar for SusanHAllen

I am attempting to build multiple unique cfforms (flash, not html) within a loop. However, only the last cfform is appearing on the page. Works in cfform with format="html" but not with format="flash." So, I'm thinking it's the flash <cfformgroup> design not moving down the page but displaying one on …

Member Avatar for arrgh
0
92
Member Avatar for grabit

Hi CF People I have a query: [CODE]<cfquery name="getspecial" datasource="#dsn#"> SELECT ID, category, product, special FROM products WHERE special = 'Yes' </cfquery> [/CODE] If i do a cfdump of this query it shows that ??? is the category. However when i try asnd use this variable in a url link …

Member Avatar for cfwebdeveloper
0
75
Member Avatar for kha_tsn

This code is to generate excel with grid lines in it with file name as you given in the code which will disply when you opening throug the download dialog box, Regards, khaleel

Member Avatar for ngabach
0
467
Member Avatar for kha_tsn

<!---to open excel with given name---> <cfheader name="Content-Disposition" value="attachment;filename=#lFilenameCreated#"> <cfcontent type="application/vnd.ms-excel"> <!---<cfcontent type="application/vnd.ms-excel" > <cfheader name="Content-Disposition" value="filename=SchoolReport.xls">---> </cfoutput> <html xmlns:o="urn:schemas-microsoft-com:office:excel" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"> <head> <TITLE>CTY Information System - School Report</TITLE> <meta http-equiv="Content-Type" content="text/html;charset=windows-1252"> <!---To get gridlines in excel file---> <xml > <x:ExcelWorkbook > <x:Name>School Report</x:Name> <x:ExcelWorksheets > <x:ExcelWorksheet > <x:Name>School Report</x:Name> …

0
80
Member Avatar for PeteComcar

I've got a problem with our live server. Occasionally a page will not load, and the following error is displayed in plain black text on a white background: [QUOTE]Server Error The server encountered an internal error and was unable to complete your request Application server is busy. Either there are …

Member Avatar for cfwebdeveloper
0
2K
Member Avatar for Spiderant

I am trying to access a web service on a server that requires windows authentification. These are the steps I'm trying to take. 1. Use script below to do window auth. [CODE] <cfscript> objNTAuth = createObject("java", "jrun.security.NTAuth"); objNTAuth.init("Name_of_Domain"); objNTAuth.authenticateUser("userid","password"); </cfscript> [/CODE] 2. Then invoke my call to the web service. …

Member Avatar for kha_tsn
0
208
Member Avatar for teedoff

Hi I have a CF application that uses a form page to enter data into the input fields, then passes those fields as SESSION variables to the action page so that the use can view hwo the page is going to look. basically is an application to build new html …

Member Avatar for kha_tsn
0
136
Member Avatar for tiny7415

Hi everyone!! I am using cfm files and i have never used cfc; i ve read about cfc but i could not figure out how it works? could i use this cfc files in my cfm? and can you give example like calling an xml file.

Member Avatar for kha_tsn
0
214
Member Avatar for neemisha

Till now I was working in CFMX7. Now I need to upgrade to CF9 on the new server. My old server was Aixp630 with CF7 now it is migrating to Aix6.1, Websphere7 with CF9. I have bought the upgrade license for CF9. I need to know, how to do the …

Member Avatar for cfwebdeveloper
0
85
Member Avatar for raywin_lks

Sorry i am very new to ColdFusion and English is not my first language, please forgive me if have any mistake. I am looking for some technique like search form or form filter. This is a [URL="http://www.hotelscombined.com/City/Barcelona.htm#languageCode=EN&currencyCode=MYR&fileName=Barcelona&fileNameType=0&pageSize=25&pageIndex=0&sort=Popularity-desc&showSoldOut=true&locationId=-201&highRate=293&lowRate=50&star1=false&star3=false&star4=false&star5=false&facilities=18&view=hc_sr_summary&scroll=480&open=1,3,2,6&mapstate=contracted"]reference[/URL] . It is a hotel finding website. My question is here, how to …

0
75
Member Avatar for fiju

Hi , My XML contains a node (I have given it below) which contains an xml text that is '[B]Please complete the &amp;quot;Enquiry Type&quot; field[/B]' , as given below. And I am using a coldfusion function XMLSearch to search for an XML document Object. And I am using an XPath …

Member Avatar for conork
0
212
Member Avatar for subspiderman

Having trouble installing Coldfusion 9.0.1 on a 32-bit PC running Windows XP. Got Coldfusion 9.0 on it, was able to bring up that Admin. When I try and install the updated 9.0.1 version, it bombs at the end saying something about other Cold Fusion server instances running. When I go …

Member Avatar for subspiderman
0
143
Member Avatar for freshfitz

Can anyone get this to work? You can download the code here [url]http://www.mattgifford.co.uk/sexy-fi-login-forms/[/url] but i can't get it to read a success from checklogin.cfm index.cfm [CODE]<!--- Name: index.cfm Author: Matt Gifford aka coldfumonkeh Date: 11/08/2010 Purpose: Login form to demonstrate the use of the jQuery UI's shake effect. ---> <!DOCTYPE …

Member Avatar for freshfitz
0
408
Member Avatar for FlyByNight73

Hi Everyone, I am currently working on a site that will have lots of European and Middle-Eastern town names that include accented and other special characters. I have never had to deal with these characters before and I foolishly assumed that setting everything to utf-8 would take care of it …

Member Avatar for arrgh
0
625
Member Avatar for teedoff

Ok back again! lol I can easily use the ListSort to sort a predefined list: [CODE] <cfset myList = ListSort("wango, tango, jango,lolo,alpha","TextNoCase","ASC")> <cfoutput>#myList#</cfoutput> [/CODE] Which results in a simple text in alphabetical order like so: alpha, jango, lolo, tango, wango What I WANT to do though is sort through a …

Member Avatar for teedoff
0
263
Member Avatar for azgold472

Ok so what im trying to do here is set putme to be coding so that when the test.txt is read it replaces `<!--ReplaceMe -->` with the contents of putme. How do i get putme to just store it at text instead of coding? <!-- Start putme --> <cfset putme …

Member Avatar for arrgh
0
131
Member Avatar for teedoff

Hi I was following a tutorial on sitepoint for creating structs. I must be missing something since I followed the code exactly, but keep getting an error! Here is the code: [CODE]<cfset myBook= structNew()> <cfset a = StructureInsert(myBook, \\"title\\", \\"All About Coldfusion\\", 1)> <cfset a = StructureInsert(myBook, "author", "Teed Younger", …

Member Avatar for teedoff
0
276
Member Avatar for sharma.rahul375

I was concerned about how threads can be used in Coldfusion. Actually I am using 'cfmail' tag to send a mail with an attachment and I am storing the attachment file in a directory. What happens to be in the code is that, After using the cfmail tag I am …

Member Avatar for arrgh
0
201
Member Avatar for dipakatcvrca

Hi All, I had a question in my mind from last couple of days regarding passing data through url, and accessing the same in the page. I want to pass the data as query string, and also access the same in the page, but I don't want the end user …

Member Avatar for @developer
0
332
Member Avatar for Jeanioz

Hello, I am newbie in Coldfusion development and I have a question: I must make a application where I have to use a parameter in a database (and not written in the code). Example: I have to show a text of a table with a "subtext" of other table. So …

Member Avatar for arrgh
0
138
Member Avatar for norul aswin

Hi. I want to add character ' - ' in my string every 5th character. For example: 123456789ABC would be like this --> 12345-6789A-BC Already search in the internet but don't know how to do... can anybody help me? Thanks in advance.

Member Avatar for arrgh
0
311
Member Avatar for deucalion0

Hey guys, I have been trying for a few days to create a form on a web page where someone can search my database by keyword, I am having many difficulties figuring this out, and Googling help has probably confused me more. I have a database called links which contains …

Member Avatar for arrgh
0
647
Member Avatar for Fued10

Hi guys I'm in urgent need of help. I have a column in my table that collects lists(UserGroup), but I want to compare individual list items in Usergroup(Qry1) with individual list items in UserGroup(Qry2). [CODE]<CFQUERY NAME="Qry1" DATASOURCE="#db#"> SELECT UserID, UserGroup FROM users WHERE usersid = #SESSION.userID# </CFQUERY> <CFQUERY NAME="Qry2" DATASOURCE="#db#"> …

Member Avatar for arrgh
0
111
Member Avatar for grabit

Hi Folks I am working on a forum for a customer and I am having problems passing a url variable; This the code i have on a search page <cfelseif cgi.http_referer contains 'forumViewMessages'><cfset linktext = 'Forum Postings/Replies Page'><cfset lastpage = 'forumViewMessages.cfm?#linkVariables#'> </cfif> <cfoutput>#lastpage#</cfoutput> <cfabort> the output on the page when …

Member Avatar for dipakatcvrca
0
272
Member Avatar for leemyers

Hello, i have signup page in cold fusion that create a new user on my web application. but when i fill out the form and press signup i get this error message Element SYSUSER is undefined in REQUEST. Any idea to what this could mean?

Member Avatar for dipakatcvrca
0
117
Member Avatar for grabit

Hi Folks I have a shopping cart with an array of structures to hold the cart contents. Wot i want to do is get a list of the contents of the cart contents and then use that list to repopulate the "order" page so it doesnt show any of the …

0
82
Member Avatar for callyvan

Hi, I am forced to use the old style validation for some basic form elements, and I am having problems with a date input box, I figured that it automatically stores the value as a String so the "AND isDate(form.Effective_Date)" should return a true or false, what it does instead …

Member Avatar for arrgh
0
258

The End.