Is it possible that the action page is being called directly -- i.e. not being posted.
For instance, if someone has bookmarked the action page this error might occur if
publish is the first form
variable referenced.
Craig
> -Original Message-
> From: Peter Fralin [SMTP:[EMAIL PROTECTE
Do this:
or this
chr() returns the character represented by the passed ASCII value. 34 is a double
quote.
For a list of ASCII values see http://www.asciitable.com/
> -Original Message-
> From: nyon [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, July 19, 2001 9:40 AM
> To: CF-Talk
Two solutions:
1) Try escaping the names, as in Product##, in the CFQUERY and use a alias
SELECT Product## AS ProductNum
FROM whatever
2) Create a view on your database server that assigns an alias to each offending
column. Always access the t
Here is a list of resources for you:
http://www.adams1.com/pub/russadam/webapps.html
You're sure to find something here that will help you out.
Craig
> -Original Message-
> From: stas [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 15, 2001 9:44 AM
> To: CF-Talk
> Subject: Barcode
No, the 4 refers to 4 bytes required to store the value, not the number of characters
in the value. The range that can be stored in an int is -2^31 to 2^31-1.
Craig
> -Original Message-
> From: ibtoad [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, June 13, 2001 12:32 PM
> To: CF-Talk
>
Eron,
I resize on the X axis only and let the Y fall where it will -- I'm more concerned
about the width than the height on my sites. This retains the aspect ratio and
retains image quality. If you try to force the image into a ratio that differs from
the original, you will have distortion.
I've used two methods.
1) Use a variable in the CreateTimeSpan which holds the number of minutes or hours
that you want the cache to last. To force the query to execute, change this variable
to 0, hit the page, and then restore the variable back to the proper value.
2) Add the following code
No bug. daysInMonth() takes a full date as a parameter -- not the month. If you
say daysInMonth(now()), it will work as expected.
Craig
> -Original Message-
> From: Norman Elton [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 01, 2001 9:33 AM
> To: CF-Talk
> Subject: RE: What's wi
I use this all the time for intranet development. It is really useful for client-side
validation and dynamic page building. For validation, use the object to post values
to a page and then wait for the results. In one application, I use this to validate
state/country/postal code combinations
gt; To: CF-Talk
> Subject: Re: Attributes Scoped Structure?
>
> That's not true. Fusebox uses nothing but Attributes scoped variables. You
> can set Attributes variables anywhere.
>
> - Original Message -
> From: "Howarth, Craig (IBK-NY)"
Brad,
The attributes scope can only be used within a custom tag. This is the error message
that you get when you attempt to assign a value to the attributes scope in a normal
template.
Craig
> -Original Message-
> From: Brad Roberts [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 24,
Change the form like so:
#Met_ID#
#FirstName# #LastName#
Notice that I changed te name so that all
Do you see the gray bar on the left? If not, that means that you have the gutter
toggled off. Press the button above the line number toggle to turn the gutter back on.
Craig
> -Original Message-
> From: Jay Jennings [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 12:35 PM
> To:
You have them reversed. Try .
> -Original Message-
> From: Stephenie Hamilton [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 10:28 AM
> To: CF-Talk
> Subject: RE: finding special characters in a list
>
> this doesn't seem to work, i need it to find the paragraph break, wh
Roll your own:
#i# - #chr(i)#
> -Original Message-
> From: Andrew Peterson [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 10, 2001 12:35 PM
> To: CF-Talk
> Subject: OT: WingDings
>
> Hi,
>
> Using CF_HTMLMenu and was looking for a good reference on the ASCII
> transl
Seems unlikely, but it does generate some great words like "teethuku" and "taafduno"
and the unforgettable "fuoflyru". Fun script.
> -Original Message-
> From: Erika L Walker [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 10, 2001 12:19 PM
> To: CF-Talk
> Subject: RE: Code Snippe
Save the following as a tag and place all of your content between the open and end
tags.
For example, if your tag was called CF_Highlight:
This is a test of the sales system.
#variables.foo#
End of sales information
Tag Code:
Is note a reserved word in Access? Try [note] = 'dr'.
Craig
> -Original Message-
> From: Jason Lees (National Express) [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 11:01 AM
> To: CF-Talk
> Subject: RE: Update in CFquery is failing, somone code check this ?
>
> I think
I do something like this...
Define a couple of styles for even and odd rows:
.evenRow { background-color: #99 }
.oddRow { background-color: #cc99ff }
Then when running the query, figure out which one to use
ba
You have no VALUE attribute on the default option.
> -Original Message-
> From: Marc Garrett [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, April 24, 2001 9:48 AM
> To: CF-Talk
> Subject: Re: Character code for a TAB
>
> Michael Lugassy wrote:
>
> > I JUST LOVE IT WHEN 1203483409875 P
Someone posted this a while back. So useful that it is now a permanent CF Studio
snippet.
It doesn't lock, so it should only be used while debugging.
#ucase(struct)#:
#var#:
You have two options with this code:
1) Remove the default value. That way a valid
value will always be selected.
2) Change the test in the JS function to if (theform.member_role.selectedindex
!= 0), since the first item has an index of 0, not -1.
The select box that you hav
Two ways that I can think of:
1) Put the template in seperate directory from the rest of your site and place an
empty application.cfm in the same directory.
2) In the application.cfm check the value of cgi.path_info for the name of the
template and skip the bits you don't want to execute.
>
Remove the forward slash from the variable name.
> -Original Message-
> From: Toivonen, Nicole [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, April 06, 2001 10:11 AM
> To: CF-Talk
> Subject: syntactically valid variables?
>
> Hi there,
>
> I'm getting the error below when attempting to
What is the data type of the times column? Can you post a few rows of sample data
from the times column showing the randomness that you described.
> -Original Message-
> From: W Luke [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 3:45 PM
> To: CF-Talk
> Subject: "Orde
Use single quotes in the alert() or use a custom tag to implement CFHTMLHEAD the way
it should have been done:
Save this in a file called htmlhead.cfm and change your code to: