Survey Link
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldf
[EMAIL PROTECTED]
WWW: http://www.evoch.com/
> -Original Message-
> From: Clark, Aimee [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 26, 2002 5:42 PM
> To: CF-Talk
> Subject: RE: Using a counter variable
>
>
> Mosh,
> I tried this and it did work, but, it
Aimee,
This works for me:
Counter = #counter#
Survey Link
Counter = #counter#
~Dina
- Original Message -
From: Clark, Aimee
To: CF-Talk
Sent: Tuesday, November 26, 2002 4:42 PM
Subject: RE: Using a counter variable
Mosh
ED]]
Sent: Tuesday, November 26, 2002 3:41 PM
To: CF-Talk
Subject: RE: Using a counter variable
You haven't made your counter variable persistent. Every time someone makes
a new request of your application, Application.cfm creates a new variable
called "counter" and sets it
ession variable.
I have to admit, I'm still learning the best practices with respect to "how"
I should be doing this.
-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 3:24 PM
To: CF-Talk
Subject: RE: Using a counter
lt;[EMAIL PROTECTED]>
Subject: Re: Using a counter variable
Date: Tue, 26 Nov 2002 14:43:48 -0700
Clark, Aimee writes:
> I have an application in which I want every 7th record closed in a table
to
> generate an email asking the user to participate in a survey.
>
> I have in the appl
Your code, please?
- Original Message -
From: Clark, Aimee
To: CF-Talk
Sent: Tuesday, November 26, 2002 3:02 PM
Subject: Using a counter variable
I have an application in which I want every 7th record closed in a table to
generate an email asking the user to participate
It's because your Counter variable isn't sticking around long enough to be
incrementing... Try setting Counter as an Application variable in your
Application.cfm page like this:
And on your action page, use this:
..do stuff...
Try it on a few dummy pages first. Create a new
You haven't made your counter variable persistent. Every time someone makes
a new request of your application, Application.cfm creates a new variable
called "counter" and sets it equal to 0. You need to make your variable
persistent. And since you want it to work across multiple users, it should
for this type of scenario?
-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 3:24 PM
To: CF-Talk
Subject: RE: Using a counter variable
Aimee,
A bit more info would be helpful. Are you trying to do this all in one
request? what sort
n variable.
I have to admit, I'm still learning the best practices with respect to "how"
I should be doing this.
-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 3:24 PM
To: CF-Talk
Subject: RE: Using a counter vari
Clark, Aimee writes:
> I have an application in which I want every 7th record closed in a table to
> generate an email asking the user to participate in a survey.
>
> I have in the application.cfm file.
>
> I have in my action page right after an update
> that is done to the table.
>
> T
Aimee,
A bit more info would be helpful. Are you trying to do this all in one
request? what sort of variable is it? session? If it's a session variable
then it's being reset to Zero with every request by the application.cfm
page. You would need to do (with locking):
-Original Mes
13 matches
Mail list logo