>>whatever number tab is
char(9)
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
~
\t is a RegEx syntax that is not supported in CF5, only CFMX. You need to use a
#chr(9)# in its place.
>cfset tmp.content = rereplace(tmp.content, "[\t]+",
>"", "ALL")
>
>Which I thought would replace tabs, but it's instead replacing all of
>the "t" characters. What's wrong with my regex cod
First, your ODBC problem. You can set up a DSN in Win2k, which is an
ODBC connection to the DB. CF 6 and (I presume) 7 can connect to that
without (anecdotally) much overhead.
Second, your RegEx problem.
I wouldn't use RegEx at all here. Just use a simple replace() to do
this. You aren't do
Background: I am building an application that is going to replace a
client-server document publication app. The old app was custom
written and used MS Word as the editor to save and store content for
the documents that needed to be published. It was poorly implemented,
but it worked well enough.
couldn;t you just do #application[client.version]["s"][scenario]#
aside from it looking cleaner its is better b/c it doesn't use
evaluate :)
Adam H
On 5/8/05, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Hi, I have a blank, it's been too long since I worked with
> > CF5. I'm trying to do something t
Oops.. Sorry..it works fine on CF5, the error was just beside ...
Pat
-Original Message-
From: CFDEV [mailto:[EMAIL PROTECTED]
Sent: May 8, 2005 17:12
To: CF-Talk
Subject: cf5 question
Hi, I have a blank, it's been too long since I worked with CF5. I'm trying
to do some
> Hi, I have a blank, it's been too long since I worked with
> CF5. I'm trying to do something that works fine on cf mx but
> not on cf 5
>
> #evaluate("application." & client.version & ".s" & scenario)#
>
> How should I do it in cf5?
Since the Application scope is exposed as a struction in C
Hi, I have a blank, it's been too long since I worked with CF5. I'm trying
to do something that works fine on cf mx but not on cf 5
#evaluate("application." & client.version & ".s" & scenario)#
How should I do it in cf5?
Thanks
Patrick
~
Hello List thanks for the help
It's been a while since I have used CF. I was wondering if something changed with
CFGRID in version 5. I believe since our upgrade all the places where we used cfgrid
are now dieing because the receiving page can not see the value that was selected from
the gr
9 matches
Mail list logo