I think Christopher is correct - go with UNC file descriptions.
You are still going to have an issue with server permissions (the Cold Fusion Server
user still needs to have access right to the server/drives/directories you are looking
towards.)
To expand, UNC descriptions would look like:
If it's SQL Server, you can do it like this:
SELECT UserName FROM EkSelfAssRpts
WHERE UserName=@UsernameAux AND
FirstName=@FirstNameAux AND Title=@TitleAux
if @@RowCount = 0
begin
... do your action ...
end
Just keep in mind you have to check @@RowCount (and @@Error)
Why not simply
cfif isdefined(aStruct.aField) ?
I implied in my original post that you could use dot notation, as opposed to
array syntax.
If you use dot notation, it's clear that you're
referencing a variable within a structure, I suppose,
which entails checking the existence of both the
Jamie,
I'm looking for a custom tag that will do the kind of conventional
(passphrase-protected, but keyless) encryption that PGP can decrypt.
PGP requires two keys, one public and one private. To encrypt, you must use
the public key and to decrypt you must use the private key. This means
Here's the form code in my updateform.cfm file.
cfquery name=GetEventtoUpdate datasource=Events
SELECT
Events.Title,
Events.InterDesc
Here's the actual input code in my form for the title:
tr
td width=100Event Title:/td
tdinput type=text name=Title value=#GetEventtoUpdate.Title#
size=67
Jamie,
I just happened to think - are all these field names case sensitive when
referring to them? If so, that could be my problem
Judy
- Original Message -
From: Jamie Jackson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 12:38 PM
Subject: Re: update
Can someone tell me if there is a better way to write a query than using
!=? I have a field in my database that stores info on how many times a
sales person has contacted a customer or if the customer ordered or if the
customer has requested to not be contacted. I am running a query that shows
P.S. - looking at the debug information at the bottom of the page would show
you this very clearly and quickly.
-Original Message-
From: Judy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 12:03 PM
To: CF-Talk
Subject: Re: update error
Jamie,
I just happened to think - are
Judy,
In your form tag is Method set to POST? If not, then all the form
inputs are actually passed as URL parameters - not form parameters.
Mark
-Original Message-
From: Judy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 12:03 PM
To: CF-Talk
Subject: Re: update error
why not say
Where ContactCNT != 'Do Not Contact' OR ContactCNT = NULL
Success is a journey, not a destination!!
Doug Brown
- Original Message -
From: Ben Densmore [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 10:06 AM
Subject: using != in a filed
I just happened to think - are all these field names case
sensitive when referring to them? If so, that could be my
problem
No, they're not case-sensitive. Variables in CF are case-insensitive.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202)
Judy,
I just happened to think - are all these field names case sensitive when
referring to them? If so, that could be my problem
No CFs not particular about what cases you use in your variables.
tdinput type=text name=Title value=#GetEventtoUpdate.Title#
size=67 maxlength=255
Is there
Is there a way to have Javascript resize my window with a onload command?
+---+
Philip Humeniuk
[EMAIL PROTECTED]
[EMAIL PROTECTED]
It is not about who or what someone can do re: CF J2EE convertor
(which seems a little pointless with Neo)
Whoa man, I think that's just a little too much info about what NEO is and
isn't. You're breaking the NDA!. What? You mentioned NEO? Break out the tar
and feathers, we've got an NDA
Ben,
Would I be better off setting a default value of 0 in the database field.
If all you're after is a Yes or No to Can I contact this person? then you
would be much better off having an bit or an integer that you can switch
between 1 for yes and 0 for no.
Stephen
On Thu, 18 Apr 2002 17:51:05 +0100, in cf-talk you wrote:
Jamie,
I'm looking for a custom tag that will do the kind of conventional
(passphrase-protected, but keyless) encryption that PGP can decrypt.
PGP requires two keys, one public and one private. To encrypt, you must use
the public
use IS NULL or IS NOT NULL
Quoting Ben Densmore [EMAIL PROTECTED]:
Can someone tell me if there is a better way to write a query than using
!=? I have a field in my database that stores info on how many times a
sales person has contacted a customer or if the customer ordered or if
No, they're not case sensitive, but make sure that your form is set to
post, as otherwise, you'll be passing variables in the url scope,
instead of the desired form scope.
Look at your debug output and see if your form variables appear there.
If you have your form set incorrectly, you should see
Yes, it is.
cfoutput query=GetEventtoUpdate
form action=updateaction.cfm method=post
input type=Hidden name=ID value=#ID#br
- Original Message -
From: Mark A. Kruger - CFG [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 1:11 PM
Subject: RE: update error
body onload=javascript:window.resizeTo(width,height);
--
Brian Ledwith
Stupefying...prodigious...asinine... --Mac Wellman
Learning Express, LLC.
www.learnatest.com / www.learningexpressonline.com
900 Broadway NY NY
office:
Is it possible to view two different files at the same time? Without having
to use the selection tabs
Kinda like the Window Split function
Haven't seen any reference to this capability, but I could be wrong
Shawn Grover
Couldnt you use
Where ContactCNT != 'Do Not Contact' OR ContactCNT is NULL
HTH,
Tim P.
- Original Message -
From: Ben Densmore [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 1:06 PM
Subject: using != in a filed with a null value
Can someone tell me if
Is there a way to have JavaScript resize my window with a onload command?
Yes, see: http://developer.irt.org/script/240.htm
-Justin Scott, Lead Developer
Sceiron Internet Services, Inc.
http://www.sceiron.com
__
This list
Here's what Ben Forta said to me when I made an unfortunate comment about
___:
*AHEM*
And that's it.
Perhaps we could all learn from his example and spare Adam's feelings?
M
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 12:24
The weird thing is if I use that with my whole query which is
Select * From customerLeads
Where TodaysDate = '#DateFormat(TodaysDate, mm/dd/yy)#'
And Email Like '%@%'
And Email Like '%.%'
And ContactCnt != 'Do Not Contact' Or ContactCnt is Null
It totally ignores the date part and grabs
The weird thing is if I use that with my whole query which is
Select * From customerLeads
Where TodaysDate = '#DateFormat(TodaysDate, mm/dd/yy)#'
And Email Like '%@%'
And Email Like '%.%'
And ContactCnt != 'Do Not Contact' Or ContactCnt is Null
It totally ignores the date part and
I have always used for NOT EQUAL. Give it a try ^_^
+--+---+
| SCOTT VAN VLIET | SBC SERVICES, INC.|
| Senior Analyst | ITO Enterprise Tools |
| Tel: 858.886.3878| 7337 Trade St. Room 4000 |
| Pgr:
Second try.
Judy, in the form for updateform.cfm you have the field:
input type=hidden name=id value=#id#
But on the updateaction.cfm page, your Update query has:
Where Events.ID=#URL.ID#
Would #form.id# work or are you passing the #url.id# elsewhere in the code?
Hi,
I've created a web site for a customer and have come across an interesting
problem. I wondering if anyone here has experienced something similar. The
site allows my customer to create new categories using a form submission.
The new categories are then displayed in the left frame of the
Try wrapping URLEncodedFormat() around the variable when you embed it in the
URL
EXAMPLE
a
href=GoToCategory.cfm?category=#URLEncodedFormat(Category)##Category#/a
OUTPUT
a
href=GoToCategory.cfm?category=%3Cb%3EDiamonds%3C%2Fb%3EbDiamonds/b/
a
HTH!
Hi Group,
I need to create an IIF file of invoices that can be imported into
Quickbooks. Does anyone have a sample, customtag or otherwise to speed the
process?
Any help would be greatly appreciated.
Sincerely yours,
Jim Gurfein
President, CEO
RestaurantRow.com, Inc.
I've created a web site for a customer and have come across
an interesting problem. I wondering if anyone here has
experienced something similar. The site allows my customer
to create new categories using a form submission. The new
categories are then displayed in the left frame of the
Anyone ever have any problems calling cgi.auth_user... I have it on one
area of our server and it works fine and now im trying to reference it
in an action page and it comes up with nothing. Anyone have any idea as
to whats going on?
Please advise
Thanks
Kris Pilles
Well, I hate to join in these long threads, but I read something that I
could not resist answering.
It is not about who or what someone can do re: CF J2EE
convertor(which seems a little pointless with Neo
There has been a J2EE implementation of CF for quite some time (3 years, I
think),
well it is due to the fact that brackets are not allowed as a char for a
variables name. It has to begin with a letter and numbers or letters afterwards.
Success is a journey, not a destination!!
Doug Brown
- Original Message -
From: cf refactoring [EMAIL PROTECTED]
To: CF-Talk
Great. I will give it a try. Thank you.
Thomas J. Morgan
Research Triangle Institute
3040 Cornwallis Road
RTP, NC 27709
(919)541-7414
[EMAIL PROTECTED]
Http:\\www.rti.org
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 11:49 AM
OK, I am logged in as Cfusion/bob ( with sys admin prevlidges) to the CF
Server, CF Service is changed from LocalSystem to start up thru CFusion/bob
login. Thru Windows Explorer I have a UNC where I can see the remote drive
and directories (as \\xyz), But still CF server cannot see the or
from what i have been told, this is suppose to be faster and more efficient.
i just like the fact that i don't have to declare variables. ;)
IF NOT EXISTS(
SELECT UserName
FROM EkSelfAssRpts
WHERE UserName=@UsernameAux AND
FirstName=@FirstNameAux AND
oi CF-Talk,!!
well you can all sleep better this evening as I'm doing my part to keep efnet
clean of NDA busters, I've got my bots configured to kick on the dreaded n
word:
[2:55pm] * bananachu does a filter for neo on the newslist
[2:55pm] bananachu was kicked by Korneliuz (shhh!
Hmm, line monster is back.
- Original Message -
From: S V [EMAIL PROTECTED]
Date: Thursday, April 18, 2002 12:47 pm
Subject: CFDirectory Network Drive - Still does not work!
OK, I am logged in as Cfusion/bob ( with sys admin prevlidges) to
the CF
Server, CF Service is changed from
Damn Neo-Nazis...
oi CF-Talk,!!
well you can all sleep better this evening as I'm doing my part to keep
efnet
clean of NDA busters, I've got my bots configured to kick on the
dreaded n word:
[2:55pm] * bananachu does a filter for neo on the newslist
[2:55pm] bananachu was kicked by
I don't think TagServlet has been out for 3 years, I think it just came out
last year. You are probably thinking of CF_Anywhere which was made by Live
Software (who made JRun, and was bought by Allaire). CF_Anywhere was
probably where the idea for Neo came from.
NDA exists to protect the developer and the company... you wouldn't like
it if someone called your bank and asked the bank freely gave away your
credit history, details or if someone visited your doctor and he gave
sensitive CONFIDENTIAL information to that visitor would you?
You can now in
Nope, but it would be cool.
---
Billy Cravens
-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 12:39 PM
To: CF-Talk
Subject: CF Studio - Split for two different files?
Is it possible to view two different files at the same time? Without
At 03:10 PM 4/18/2002 -0400, you wrote:
I don't think TagServlet has been out for 3 years, I think it just came out
last year. You are probably thinking of CF_Anywhere which was made by Live
Software (who made JRun, and was bought by Allaire). CF_Anywhere was
probably where the idea for Neo
CF_Anywhere was pretty cool, I regret not being able to play with it more
when it was available in JRun.
Pete
- Original Message -
From: Pete Freitag [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 3:10 PM
Subject: RE: neo question
I don't think
i'll have to me too that one. i'm working on that exact process today.
christopher olive
cto, vp of web development, vp it security
atnet solutions, inc.
410.931.4092
http://www.atnetsolutions.com
-Original Message-
From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April
Thank You Ryan
This code worked absolutely perfectly on all three browsers.
-Original Message-
From: Ryan Pieszak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 10:15 AM
To: CF-Talk
Subject: RE: Set focus on a CFINPUT field
Larry,
This is the exact code we use for out logon
Is that down here correct??
I'm trying to detect is this query does not retrieve
any row.
It does not work for me.
Ideas??
Thanks friends
Mario
SELECT Count=COUNT(UserName) FROM EkSelfAssRpts
WHERE UserName=@UsernameAux AND
FirstName=@FirstNameAux AND Title=@TitleAux
IF Count=0
Is that down here correct??
I'm trying to detect is this query does not retrieve
any row.
It does not work for me.
Ideas??
Thanks friends
Mario
SELECT Count=COUNT(UserName) FROM EkSelfAssRpts
WHERE UserName=@UsernameAux AND
FirstName=@FirstNameAux AND Title=@TitleAux
IF Count=0
Is that down here correct??
I'm trying to detect is this query does not retrieve
any row.
It does not work for me.
Ideas??
Thanks friends
Mario
SELECT Count=COUNT(UserName) FROM EkSelfAssRpts
WHERE UserName=@UsernameAux AND
FirstName=@FirstNameAux AND Title=@TitleAux
IF Count=0
I have a page that has hundreds of cfsets in it. (it goes out to a pdf and
each box needs defined)
Like so:
CFSET GR1=PDFToolkit.SetFormFieldData(GR1, #GetGrades.Grade[1]#, 0)
CFSET GR2=PDFToolkit.SetFormFieldData(GR2, #GetGrades.Grade[2]#, 0)
It can take up to almost a minute to process. The
A quick Google yielded this:
http://developer.intuit.com/quickbooks/faq.asp
Perhaps the QB SDK has more info?
Pete
- Original Message -
From: Christopher Olive [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 3:26 PM
Subject: RE: Quickbooks IIF File
I am using the following code to display a graph data item. I am using
numberformat function, but the graph ignores it.
cfgraphdata item = #subgroup# value = #numberformat(percent_hrs,
__._)#
Anyone know how I can set the precision to one decimal place?
Thanks,
Ray
You might look into using cfscript instead, I have heard the processing is a
bit faster
cfscript
gr1 = PDFToolKit.SetFormFieldData('GR1', '#GetGrades.grade[1]#',0);
/cfscript
Success is a journey, not a destination!!
Doug Brown
- Original Message -
From: Janine Jakim [EMAIL
First, use cfscript to set your variables, esp. if they can all be fit in a
single cfscript block.
Pete
- Original Message -
From: Janine Jakim [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 3:27 PM
Subject: cfset
I have a page that has hundreds of
Hehe... Me Three! Working on an export/import for timer/quickbooks :)
Dave Schmidt
-Original Message-
From: Christopher Olive [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 12:27 PM
To: CF-Talk
Subject: RE: Quickbooks IIF File
i'll have to me too that one. i'm
Hi,
Further to my problem of aparently retrieving cached query results when
using an excel datasource (see earlier email titled Strange behaviour with
excel datasource), I've discovered that CF seems to be keeping the ODBC
connection alive across requests.
Does anybody know how to force a
CFSET CFUSION_DISABLE_DBCONNECTIONS(excel, 1)
Ray
At 08:45 PM 4/18/2002 +0100, you wrote:
Hi,
Further to my problem of aparently retrieving cached query results when
using an excel datasource (see earlier email titled Strange behaviour with
excel datasource), I've discovered that CF seems to be
Well, I have lots of pages with hundreds of cfsets. They are not inherently
slow. Clearly what's slowing you up is the PDFToolkit stuff. Switching to
cfscript won't help that any.
- Original Message -
From: Pete Ruckelshaus [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday,
Off the top of my head... perhaps it's the use of quotes that's the key???
cfgraphdata item=#subgroup# value=#numberformat(percent_hrs, '__._')#
At 12:42 PM 4/18/02 -0700, you wrote:
I am using the following code to display a graph data item. I am using
numberformat function, but the graph
We started on a project that was going to do something like this (right
before funding was cut and the team was sent on permanent vacation). We
only found two tools:
OfficeQ by DataBlox http://www.datablox.com/
Linkbook ODBC Driver http://www.hcit.co.uk/LinkBook/
The ODBC driver was buggy at
I tried with quotes, tick marks and nothing at all.
At 12:58 PM 4/18/2002 -0700, you wrote:
Off the top of my head... perhaps it's the use of quotes that's the key???
cfgraphdata item=#subgroup# value=#numberformat(percent_hrs, '__._')#
At 12:42 PM 4/18/02 -0700, you wrote:
I am using the
actually, the quickbooks timer program spits out timer files in IIF. then QB can read
them in. we've done some preliminary testing, and it looks quite possible.
christopher olive
cto, vp of web development, vp it security
atnet solutions, inc.
410.931.4092
http://www.atnetsolutions.com
You could do it with cf.
cfif queryname.recordcount eq '0'
Then do what you need to do.
Thank you.
Steve Burcham
Webmaster
RDO Equipment Co.
Phone (701) 239-8755
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
-Original Message-
From: Mario Martinez R. [mailto:[EMAIL PROTECTED]]
I've already tried this and although it does remove the datasource
connection, it doesnt resolve my problem of being returned a cached result
in my select query.
-Original Message-
From: Ray Bujarski [mailto:[EMAIL PROTECTED]]
Sent: 18 April 2002 20:53
To: CF-Talk
Subject: Re: How to
Hi all,
Anybody know if Netscape 4.X support onKeydown event?
I have the following script, It works in IE and Netscape 6.2 but it doesn't
seem to work in Netscape 4.7
script language=JavaScript!--
function handler(e) {
var key = (navigator.appName == Netscape) ? e.which : e.keyCode;
You might try an intentionally bad SQL statement, and wrap it with a
cftry/cfcatch to keep it quiet.
cftry
cfquery...
select Mr_T
from YoMomma
where PityDaFool = WhatchooTalkinBoutWillis
/cfquery
cfcatch
!--- do nothin' ---
/cfcatch
/cftry
I think bad SQL statements terminate the connection.
Perhaps you could build a COM object to access the data? (Since ADO
gives you more control over when the connection is opened/closed) Or if
you're good with COM in C++, you could build a CFX (gives you the
advantage of being able to build a cf recordset)
---
Billy Cravens
-Original
I have done this before, and here is what worked for me:
DECLARE @RecordCount int
SET @RecordCount = SELECT COUNT(COLUMNNAME)
FROM TABLENAME
WHERE CONDITION = SOMETHING
IF @RecordCount 0
BEGIN
...
I think you are
What about the Maintain database connections setting for the DSN under
ColdFusion Administrator? This should take off the lock place on the XLS
file.
I am not sure if this will work for your problem, but you might want to give
it a shot.
User does a search from a page that queries a table and
displays the results. I then have a checkbox next to
each result, (for 1 or more result items) each checkbox
form value is dynamically assigned key_id value from
table. This uniquely identifies each result set.
I'm giving user the
Is there any reason you have two onKeyDown events, or is that just a typo?
If that is the case (that you have two), NN 6.x and IE are very forgiving
when having duplicate attributes, however NN 4.x might be crapping out
because of this. HTH
http://developer.irt.org/script/1214.htm
- Original Message -
From: Thanh Nguyen [EMAIL PROTECTED]
Date: Thursday, April 18, 2002 2:39 pm
Subject: Javascript: onKeydown event
Hi all,
Anybody know if Netscape 4.X support onKeydown event?
I have the following script, It works in
I'm stumped...
If a city is entered as St Louis, I want to change it to Saint Louis. I
did cfif city contains st and did a replacement (note the space after
st.
However, if I have a city such as East Hartford the st is changed to
saint as well... essentially, I need to know if the st (or
Handle your string as a list with a space as your delimiter - compare
against each element in the list (st in a word won't be an element by
itself)
---
Billy Cravens
-Original Message-
From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 4:22 PM
To: CF-Talk
Two functions, one way,
Check from the start of the string.
cfif left(city,3) eq st
Or go with a regular expression, which you could either pin to the start of string of
look for a space character before the st
Jerry
[EMAIL PROTECTED] 04/18/02 05:22PM
I'm stumped...
If a city is
Yeah, listen to him.
Billy's way is MUCH better. (read easier)
Jerry
[EMAIL PROTECTED] 04/18/02 05:25PM
Handle your string as a list with a space as your delimiter - compare
against each element in the list (st in a word won't be an element by
itself)
---
Billy Cravens
-Original
Hi,
I've got a CF5 Server running on NT4 and it seems as though the CF service
is causing the server to crash. Something is causing 100% processor tie-up,
which hogs memory and eventually crashes the server. I've looked for
endless loops and the such in my apps and haven't been able to find
Hello!
I've looked around for a CF based Issue/Bug/Project tracker.
I find a lot of demos/examples but no real apps.
The PHP/mySQL based Mantis and DCL looks good, but it's not CF...
(http://mantisbt.sourceforge.net / http://dcl.sourceforge.net)
Are there any good CF based Issue Tracking apps
There's always Sitespring.
Also, while it's not CF, PVCS Tracker isn't too shabby.
(www.merant.com)
---
Billy Cravens
-Original Message-
From: WebSite CFtalk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 4:34 PM
To: CF-Talk
Subject: Issues Tracker / Bug Tracker / Project
Typically the result of using Access. See:
http://www.macromedia.com/v1/handlers/index.cfm?ID=1540Method=Full
---
Billy Cravens
-Original Message-
From: Mark M. Kecko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 4:30 PM
To: CF-Talk
Subject: CF Server Logging Questions
TRY THIS:
cfset City = St Louis
cfset Replacement = Saint
cfoutput#REReplace(City,[sS][tT][\.| ],Replacement)#/cfoutput
To verify, place a . after St. HTH
+--+---+
| SCOTT VAN VLIET | SBC SERVICES, INC.|
| Senior Analyst
I'm unsure about onKeyDown, but NS4 does support onKeyPress. Here is my
keyboard event handler...
..onKeyPress=return evt(event)
function evt(e) {
if (window.event)
keyPressed = window.event.keyCode;
else if (e)
keyPressed = e.which;
else
return true;
//do stuff
}
- Original
Finding the st works fine with the list, however, when I do the replace,
I get nailed when something like East St Louis comes up... it becomes
eaSaint Saint louis
What now?
At 04:25 PM 4/18/02 -0500, you wrote:
Handle your string as a list with a space as your delimiter - compare
against
Can you use case sensitive replacing?
- j
-Original Message-
From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 5:42 PM
To: CF-Talk
Subject: RE: Wild Card
Finding the st works fine with the list, however, when I do the replace,
I get nailed when something like
Same problem... East St Louis results in EaSaint St Louis
At 02:37 PM 4/18/02 -0700, you wrote:
TRY THIS:
cfset City = St Louis
cfset Replacement = Saint
cfoutput#REReplace(City,[sS][tT][\.| ],Replacement)#/cfoutput
To verify, place a . after St. HTH
ReReplaceNoCase(myString,^st[\.| ],Saint ,ALL)
This will replace a string beginning with st only, so if you have an
abbreviation for Street (st) in the rest of the string, it will not change
it.
Marlon
- Original Message -
From: Jim Gurfein [EMAIL PROTECTED]
To: CF-Talk [EMAIL
Good Point. Try this instead. There is prolly a better Regular Expression
than this, but it works :)
cfset City = East St. Louis
cfset Replacement = Saint
cfoutput#Trim(REReplace(City,[ ][sS][tT][\.| ],Replacement))#/cfoutput
+--+---+
| SCOTT
Nope, sorry...
East st. Louis ==East st. Louis
St Louis== Saint Louis
At 04:45 PM 4/18/02 -0500, you wrote:
ReReplaceNoCase(myString,^st[\.| ],Saint ,ALL)
This will replace a string beginning with st only, so if you have an
abbreviation for Street (st) in the rest of the string, it will not
Hi All,
I'm encrypting an integer using the encrypt() function
in CF. Sometimes it puts a double quote character in
the encrypted string. So when I put that value in a hidden
form field it looks something like this...
value=jd09em
Of course you can see what happens. The browser sees the
I tried that and it does not work either.
I think that the cause must be another thing.
I'm posting the SP code down here to see if you can
help me.
I'm stumped with this.
The problem seems being that the second cursor for
some reason is not working.
The parts commented were already tested
I am conducting some market research to support a business plan for self
employment. I have setup a simple survey online
http://www.winnipegalive.com/survey.cfm?survey=11
and if you have time please take some time to help me out.
FREE NHL Playoff Pool tickets for all who participate. (I will
I'm upgrading to a dual processor on my server. Do I need to reinstall CF, or will it
automagically sense and utilize the extra horsepower?
Thx,
---
Matt Robertson[EMAIL PROTECTED]
MSB Designs, Inc., www.mysecretbase.com
use htmlEditFormat()
- Original Message -
From: Jason Dowdell [EMAIL PROTECTED]
Date: Thursday, April 18, 2002 4:14 pm
Subject: Encrypting Numeric ID's
Hi All,
I'm encrypting an integer using the encrypt() function
in CF. Sometimes it puts a double quote character in
the
You could always URLEncode it. This works for hidden form fields.
--Paul
Paul W. Wille [EMAIL PROTECTED]
---
Certified Advanced ColdFusion 5 Developer
---
ISITE Design, Inc. -- Solutions
cfset myString = ReReplaceNoCase(myString,[ ](st)[\.| ], Saint ,ALL)
cfset myString = ReReplaceNoCase(myString,^(st)[\.| ], Saint ,ALL)
How about that then
Marlon
- Original Message -
From: Jim Gurfein [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002
How about this:
CFSET encrypted = URLEncodedFormat(encrypt(string, key))
---
Matt Robertson[EMAIL PROTECTED]
MSB Designs, Inc., www.mysecretbase.com
---
-- Original Message --
The OS should take care of it.
Rick
-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 5:03 PM
To: CF-Talk
Subject: Single-to-dual processor... reinstall CF?
I'm upgrading to a dual processor on my server. Do I need to reinstall CF,
or
#REReplaceNoCase(City ,(^| )st\.? , Saint )#
Regards,
Matthew Walker
/*
Cabbage Tree Creative Ltd
Christchurch - New Zealand
http://www.matthewwalker.net.nz/
http://www.cabbagetree.co.nz/
*/
-Original Message-
From: Jim Gurfein [mailto:[EMAIL
101 - 200 of 233 matches
Mail list logo