RE: Printing mailing labels

2008-02-10 Thread Rick Faircloth
There's Will, keepin' that stand-up comic routine sharp. :o) Rick -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Sunday, February 10, 2008 12:01 AM To: CF-Talk Subject: Re: Printing mailing labels I got the cf_avery tag workin. It's pretty sweet. Had a

Re: Huh? EMBED and OBJECT Tags Get Modified During CFFILE WRITE?

2008-02-10 Thread Jochem van Dieten
Karl Simanonok wrote: The webserver is running Windows 2003 Server and CF is version 7,0,0,91690 (MX 7) Enterprise version, the webserver is IIS 6.0. Anybody have any idea what setting somewhere (no doubt for security) is changing all my EMBED and OBJECT tags to InvalidTag when CFFILE

Drill Down Problem

2008-02-10 Thread Jason Congerton
Hi I am working on a product database, and need to drill down the products using price bands i.e. upto £1000, £1001 to £2500 etc. My problem is; the database table has two fields for pricing info, an RRP and a sale price. The RRP price has to stay intact and can not be changed to the sale

Passing method/function name to CFC

2008-02-10 Thread Andrew Grosset
I have a cfc in the application scope initiated on application start cfset application.myImage = createObject(component,mycfcs.ImageStuff) I can then access the methods/functions like so: (Z returns a boolean indicating weather the image was successfully rotated) cfset z =

Coldfusion 8 and RC4 encryption?

2008-02-10 Thread Andy Matthews
I'm implementing a shopping cart solution on a client site which has the ability to periodically push a datafeed containing RC4 encrypted XML to a page of my choosing. I thought it would be a simple thing to encrypt test XML so that I could write the code to DEcrypt the same. Problem is that

Re: CFexecute, batch file calling another batch file

2008-02-10 Thread s. isaac dealey
Looks to me like when you CD to \Documents and Settings you want to have quotes around the path, otherwise I don't think the CD will work. Other than that, I would suspect that it's calling the bat okay. You might want to have cfexecute save the output from the command to a file while you're

Re: Coldfusion 8 and RC4 encryption?

2008-02-10 Thread Andy Matthews
The problem is that I have to provide a key to the site sending the data. So given your post, are you saying that I can just run this method once, save that key on my client's site, and also give the key to the data provider? Keys for these algorithms are created via the GenerateSecretKey()

RE: Passing method/function name to CFC

2008-02-10 Thread William Seiter
First thing that comes to mind is to remove the period (.) between [myname] and [mymethod] cfset z = application[myname][mymethod](argumentCollection = #arguments#) -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey:

Re: HOW TO: No consecutive cfschdule calls

2008-02-10 Thread s. isaac dealey
I have made sure that each request is in the same application, but the second request still waits for the previous request to complete. Right, that's because you put the conditional inside the cflock pair -- so it doesn't test the flag until it's already made sure there isn't another concurrent

RE: Drill Down Problem

2008-02-10 Thread William Seiter
I haven't tested, but maybe something like this? SELECT productType.*, productRange.*, products.*, Displayprice = CASE products.cfsalePrice WHEN products.cfsalePrice = 0 THEN products.rrPrice ELSE products.cfsalePrice END FROM (productType, productRange,

Datadiff and years, months, days

2008-02-10 Thread Steve Sequenzia
I posted this yesterday but I don't see any trace of it hitting the list, so if it is a double post I apologize. I am trying to use the Datediff function to determine the years, months, days between to days. Example - from 1/1/08 to 2/9/08 is 1 years 2 months 8 days. I am trying to figure out

Re: Passing method/function name to CFC

2008-02-10 Thread s. isaac dealey
The problem is I cannot find a way to pass in the function name... something like this..which does not work: cfset z = application[myname].[mymethod](argumentCollection = #arguments#) Yeah, you can't use array notation on the name of a method, so even if you remove the extra dot between

re: Datadiff and years, months, days

2008-02-10 Thread Jake Churchill
Not in proper code but here's the logic I would follow: fromDate = 1/1/07;toDate - 2/8/08; // get the years differenceyearsDiff = datediff('y',fromDate,toDate); // add that to the from datefromDate = dateAdd('y', yearsDiff, fromDate); // get the months differencemonthsDiff = datediff('m',

Re: Years, Months and Days from a date

2008-02-10 Thread Jeff Price
There isn't an quick and easy solution, although a few straight forward ones. Everyone is going to suggest you do a DateDiff on each date part you want to handle, but after quickly glancing at cflib.org, think that a better solution might be the following. Use DateDiff to get the difference in

Re: Years, Months and Days from a date

2008-02-10 Thread Paul Ihrig
what happens if you do cfset difDate = ('#pastDate#' - '#futureDate#') cfoutput#difDate#/cfoutput ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: Passing method/function name to CFC

2008-02-10 Thread Matt Quackenbush
In this scenario, you need to use cfinvoke to do the job for you. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w

Passing method/function name to CFC

2008-02-10 Thread Andrew Grosset
I have a cfc in the application scope initiated on application start cfset application.myImage = createObject(component,mycfcs.ImageStuff) I can then access the methods/functions like so: (Z returns a boolean indicating weather the image was successfully rotated) cfset z =

CFFORM problem

2008-02-10 Thread Les Irvin
Today I moved a site from one CF8 server to another CF8 server. Suddenly, all the cfform validity checks that were working on the previous server now fail on the new server. Is there some setting in Adminstrator that may possibly be making this happen? Anything else that it could be? It's the

RE: Pound signs in URL variables?

2008-02-10 Thread Dave Watts
The trick is, I'm finding that there are data bits out there that have a pound sign in them. An example I'm working on now - one variable has the value '!$#$!'. (Don't ask. Long story.) But when doing a dump of the URL structure, it only shows '!$'. The hash character is a URL

Pound signs in URL variables?

2008-02-10 Thread Scott Weikert
Hey gang - Got a little personal side project I've been working on lately, and I've come across a small stumper. What I have is a GreaseMonkey (FF plug-in) script that will do a screenscrape of a particular page, package up the needed data into a query string, and push it via HTTP to my CF

RE: CFFORM problem

2008-02-10 Thread Dave Watts
Today I moved a site from one CF8 server to another CF8 server. Suddenly, all the cfform validity checks that were working on the previous server now fail on the new server. Is there some setting in Adminstrator that may possibly be making this happen? Anything else that it could be?

Re: A suggestion of placing the # of msgs info to the left of a msg title

2008-02-10 Thread Aaron Rouse
Yeah, the way gmail handles the list is one of the big reasons I re-subscribed to this list awhile back. I would think there are some desktop email clients that would handle things like this but never looked for one. On Feb 9, 2008 8:44 PM, J.J. Merrick [EMAIL PROTECTED] wrote: get Gmail...

Maintain client connections - not working in CF8 / SQL 2000

2008-02-10 Thread Paul Vernon
Guys, I have a really weird problem where the connection pooling doesn't seem to be working on our CF servers. For every query, a brand new connection to the SQL server is being made. It doesn't matter if I turn the setting on or off, the behaviour is the same which is a real bind as it's

Re: Printing mailing labels

2008-02-10 Thread Dave l
if only you knew the problems he had trying to make it work! There's Will, keepin' that stand-up comic routine sharp. :o) Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the