Re: url variables

2006-11-02 Thread Charlie Hanlon
try isdefined(url.Task#i#) hth Charlie Hanlon - Original Message - From: Richard White [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, November 02, 2006 12:57 PM Subject: url variables hi, i have a page that submits values to a form as follows: var

Re: url variables

2006-11-02 Thread Charlie Hanlon
try this. cfoutput#url[Milestone i]#/cfoutput hth charlie - Original Message - From: Richard White [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, November 02, 2006 4:01 PM Subject: Re: url variables forgive me for my ignorance but i have managed to

Re: nested queries

2006-10-25 Thread Charlie Hanlon
cfquery name= datasource= SELECT s.staffTitle, s.staffFirstName, s.staffLastName FROM STAFF s, STUDENTS p WHERE s.staffEmail = p.staffEmail AND p.studentEmail = cfqueryparam value=[EMAIL PROTECTED] cfsqltype=cf_sql_varchar /cfquery Above is how I would write the query, but I am still

cfqueryparam

2006-10-23 Thread Charlie Hanlon
When I place a constant within a cfqueryparam, I am noticing performace degradation. SELECTmyField1, myField2, myField3 FROMmyDBtable WHEREmyRecID = cfqueryparam value=#val(url.id)# cfsqltype=CF_SQL_INTEGER ANDmyTypeID = cfqueryparam value=22 cfsqltype=CF_SQL_INTEGER The

Re: Single or Double Quotes - textarea values

2006-10-09 Thread Charlie Hanlon
You can use pr_text = cfqueryparam value=You'll be responsible for implementing, all of the responsibilities of cfsqltype=CF_SQL_VARCHAR or cfsqltype=CF_SQL_CHAR, depending on your data type on the field 'pr_text hth Charlie Hanlon Web Applications Developer Food Service Enablers, Inc

Re: ColdFusion Training Seminars

2006-07-20 Thread Charlie Hanlon
I took the FastTrack class in Toronto in 1999 or 2000 and it was a perfect fit for my experience level and acted as a springboard for my current career. I found it to be a terrific value. Charles Hanlon Senior Web Applications Developer Food Service Enablers, Inc. www.fsenablers.com The

Re: Need help building pages with multiple queries and tables

2006-07-19 Thread Charlie Hanlon
cfquery name=qcf_getSchools datasource=yourDSN SELECT s.SchoolID, s.SchoolName, t.SchoolType FROM Schools s, SchoolType t WHERE s.SchoolTypeID = t.SchoolTypeID ORDER BY t.SchoolType, s.SchoolName /cfquery cfoutput query=qcf_getSchools group=SchoolType #qcf_getSchools.SchoolType# cfoutput

Re: Need help building pages with multiple queries and tables

2006-07-19 Thread Charlie Hanlon
Steve, Not sure what you are asking, but I would set up the tables thus: tbl_Schools school_id ( primary key) school_name school_typeID tbl_SchoolTypes school_typeID (primary key) school_type then you join the tables using the school_typeID fieldthis structure will

Re: Form Variables and Find N Next

2006-07-19 Thread Charlie Hanlon
I am not sure this is the most efficient way to do this, but I pass the form values, if any, in the url of the pager, then at the top of the results page, I convert the url variable to a form variable ( which may be unneccessary, but I steer clear of unscoped variables) cfif

Re: reading parent form variables

2006-05-19 Thread Charlie Hanlon
This is how I have learned to it. In this case, my iframe is going to set a value for a form field on the parent window. parent.myForm.myFormField.value='foo'; hth Charles Hanlon Senior Web Applications Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The

Re: input box focus

2006-04-12 Thread Charlie Hanlon
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN html head titleUntitled/title /head body onload=JavaScript:document.myForm.myField.focus(); form name=myForm action= method=post textarea name=myField/textarea /form /body /html this works fine in IE and Firefox hth Charlie

Re: input box focus

2006-04-12 Thread Charlie Hanlon
Just tested my code with cfform instead of form and still functions as desired. Charles Hanlon Senior Web Applications Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference - Original Message - From: Bryan Stevenson

CFMX Client Variables

2006-03-21 Thread Charlie Hanlon
charlie hanlon ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235859 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http

migration to CFMX and client variables

2006-03-13 Thread Charlie Hanlon
if anyone can enlighten me as my already busy monday is disappearing.. charlie Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference - Original Message - From: Barney Boisvert [EMAIL PROTECTED

Re: migration to CFMX and client variables

2006-03-13 Thread Charlie Hanlon
Also,this is only happening when the variables name ends in 'vars' if I do client.varsMySrch, no problem, but if I name it client.mySrchVars, the client variable is not getting written to our client storage table. charlie - Original Message - From: Charlie Hanlon [EMAIL PROTECTED

Re: simple cfmail question...

2006-03-10 Thread Charlie Hanlon
This is usually how I code it cfmail to= from=[EMAIL PROTECTED] subject= cfmailparam name=from value=Tom Jones [EMAIL PROTECTED] /cfmail hth charlie hanlon - Original Message - From: Mingo Hagen [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent

Re: simple cfmail question...

2006-03-10 Thread Charlie Hanlon
That's how I learned. I'll assume that you're implying that the cfmailparam is unneccessary. Is this so? thanks, charlie hanlon - Original Message - From: Mingo Hagen [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, March 10, 2006 9:53 AM Subject: Re: simple

Re: simple cfmail question...

2006-03-10 Thread Charlie Hanlon
Thanks Jochem. - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, March 10, 2006 10:06 AM Subject: Re: simple cfmail question... Charlie Hanlon said: That's how I learned. I'll assume that you're implying

Re: Truncated Emails : maybe OT

2006-03-07 Thread Charlie Hanlon
Do you have lines longer then 998 characters? The contents of the emails gets generated dynamically. I am not sure how I would know the character count per line. Charlie Hanlon - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent

Re: OOP, why me?

2006-03-06 Thread Charlie Hanlon
Claude said 'Flexibility? Framework means rules, how can rules add flexibilty?' I have often felt that rules (structure,framework) provides the enviroment for flexiblity just my 2 cents charlie hanlon - Original Message - From: Claude Schneegans [EMAIL PROTECTED] To: CF-Talk cf

Truncated Emails : maybe OT

2006-03-06 Thread Charlie Hanlon
Excuse me if this is too OT, but I have an end user who recieves HTML emails from us, and the last few have been truncated with the bottom of the page displayin [Message clipped]. Can anyone point me in the right direction to solve this. thanks, Charlie Hanlon

Re: using WHERE with ValueList?

2006-03-03 Thread Charlie Hanlon
RobertoI would write the sql statement thus: SELECT c.clientID, c.regionID, c.clientName, c.clientSSN, c.clientCity FROM clients_tb c WHERE c.regionID IN (cfqueryparam value=#valuelist(getRegions.regionID)# list=yes cfsqltype=CF_SQL_INTEGER) hth Charlie Hanlon - Original Message

Re: using WHERE with ValueList?

2006-03-03 Thread Charlie Hanlon
Roberto, Yes, the value you use for the attribute 'cfsqltype' is directly related to the datatype of the field 'regionID'. I am not the expert regarding the performance issue, but I would assume you will take a hit if the list of IDs grows too large. Charlie Hanlon - Original

Re: using WHERE with ValueList?

2006-03-03 Thread Charlie Hanlon
=yes separator=myDelimeter cfsqltype=_) You're definately close to solving this. hth Charlie Hanlon - Original Message - From: Roberto Perez [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, March 03, 2006 4:57 PM Subject: Re: using WHERE with ValueList

Re: Ranking SQL records

2006-03-01 Thread Charlie Hanlon
by business_title and the sort rank would be stored in 'tbl_business_titles' hth charlie hanlon ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233770 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription

Re: CF Round Behavior

2006-02-14 Thread Charlie Hanlon
-36.0 || -35.9 || -35.8 || -35.7 || -35.6 -35.5 -35.4 || -35.3 || -35.2 || -35.1 || -35.0 The number, negative 35.6, should get rounded up to negative 36. hth charlie hanlon - Original Message - From: Ian Skinner [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com

Efflare ImageCR3

2006-02-10 Thread Charlie Hanlon
Greetings All, Anyone out there utilitizing Efflare's ImageCR3 and come accross the following error: Access violation at address 77FCB0C8 in module 'ntdll.dll'. Write of address CC99 and could provide some insight into this. thanks in advance, charlie hanlon

Re: input box selection

2006-02-07 Thread Charlie Hanlon
cursor in the keyword search on the left, and was able to tab over to the email form input. Take a look at the location of your form /form tags and make sure they are not crossing each other up..not alot of information here, but hopefully it leads you to a discovery. Charlie Hanlon

SQL and IDArray

2006-02-02 Thread Charlie Hanlon
Was someone trying to tamper with my app and if so, what are the implications of IDArray. thanks in advance for some insight into this. charlie hanlon ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231106 Archives: http

Re: SQL and IDArray

2006-02-02 Thread Charlie Hanlon
I may not have been clear. My global error handler sends the emails to my address. My sites throw errors, I fix them. In this case, I noticed the WHERE i.uniqueID = '' IDArray[index] '' within the error message that I rec'd. I am assuming that the site visitor substituted IDArray[index]

Question regarding sql updates with datefields

2006-01-27 Thread Charlie Hanlon
(attributes.publishdate)# /cfif cfif isdate(trim(attributes.unpublishdate)) , unpublishdate = #CreateODBCDate(attributes.unpublishdate)# /cfif WHERE myPKid = cfqueryparam value=#val(id)# cfsqltype=CF_SQL_INTEGER /cfquery charlie hanlon food service

Re: OT about CSS

2006-01-27 Thread Charlie Hanlon
-sensitive. here is the example they provide: a:link {color: #FF} /* unvisited link */ a:visited {color: #00FF00} /* visited link */ a:hover {color: #FF00FF} /* mouse over link */ a:active {color: #FF} /* selected link */ hth charlie hanlon - Original Message - From

Re: cfinput problem

2006-01-25 Thread Charlie Hanlon
Larry, First, this cfinput is inside of a cfform and not just a form tag, otherwise, the 'required' attribute will not take affect. Second, you may need to trim(SESSION.User.INSTITUT) the session variable before dropping into the 'value' attribute. hth Charlie Hanlon - Original

fileexists()

2006-01-17 Thread Charlie Hanlon
When using cfif fileexists(variables.myFileName), does the variable need to be in quotes or surrounded by pounds signs? thanks in advance, Charlie Hanlon ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229772

Re: testing for an undefined date

2006-01-13 Thread Charlie Hanlon
I have had difficulty trusting the isDate() function also. I fell back to using cfif isdefined(whatsnew.event_date) and len(trim(whatsnew.event_date)) gt 0 take action /cfif Charlie Hanlon - Original Message - From: daniel kessler [EMAIL PROTECTED] To: CF-Talk cf-talk

cfloop vs cfoutput query - best practice

2005-12-15 Thread Charlie Hanlon
and will be not displaying the data, is it better practice/more efficient to use cfloop query= instead of cfoutput query=??? thanks in advance charlie hanlon developer food service enablers, inc. ~| Discover CFTicket - The leading ColdFusion

Re: Employee name

2005-12-06 Thread Charlie Hanlon
Robertthis should work, though there may be a more optimal way of writing the select clause cfquery name=getname datasource=name select left(employee_fname,1)+employee_lname AS name from employees /cfquery hth Charlie Hanlon - Original Message - From: Orlini, Robert [EMAIL

Question regarding closing tags

2005-11-22 Thread Charlie Hanlon
this syntax on every cf tag that does have its respective closing tag. For example, the cfparam tag cfparam name=scope.myVar default= / thanks in advance charlie Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make

Re: Search results help?

2005-11-14 Thread Charlie Hanlon
will be able to get the next and previous ids out of the client.srchRsltsIDs variable. hth Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference - Original Message - From: Les Irvin [EMAIL PROTECTED

Re: cfinclude problem

2005-11-11 Thread Charlie Hanlon
Dan, My assumption is that with the cfinclude template=/ , that the initial / signifies a directory mapping set-up in the ColdFusion administrator. If the 'includes' folder is OK, then that folder is mapped in the adminstrator, while the 'common' folder is not. Charlie Hanlon Web Apps

Re: cfinclude problem

2005-11-11 Thread Charlie Hanlon
out from the host if there are any such mappings Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference - Original Message - From: daniel kessler [EMAIL PROTECTED] To: CF-Talk cf-talk

Re: cfinclude problem

2005-11-11 Thread Charlie Hanlon
Sean If 'recent releases do not define / as a mapping in the admin', then what do they define the / as?? thanks Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference - Original Message - From

Re: Find no records

2005-11-02 Thread Charlie Hanlon
Try this code. cfquery name=GetPromoters datasource=user020 SELECT u.userID,u.firstName,u.lastName,u.emailAddress,u.password FROM tbl_020publicUsers u WHERE (SELECT count(*) FROM tbl_020eventDetails e WHERE e.userID = u.userID) = 0 /cfquery Charlie Hanlon Web Apps Developer Food

Re: Simple SQL

2005-10-26 Thread Charlie Hanlon
--- AND e.musicGenreID = m.musicgenreid ORDER BY e.eventDate ASC /cfquery Try this. I think you are getting mulitple records because you're original query did not join the two tables in you're 'From' clause. rgds, Charlie Hanlon - Original Message - From

Re: Simple SQL

2005-10-26 Thread Charlie Hanlon
the tables in the 'Where' clause'. thanks in advance for your clarification/confirmation... rgds, Charlie Hanlon - Original Message - From: John Paul Ashenfelter [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, October 26, 2005 9:59 AM Subject: Re: Simple SQL On 10

Re: CF/JavaScript help on signup

2005-10-24 Thread Charlie Hanlon
cfif not logon.recordcount script type=text/javascript language=JavaScript alert(In-Valid Login Message); /script cfinclude template= display_login_page.cfm /cfif hth Elena Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People