Re: Call a variable in a Custom Tag?

2002-06-11 Thread Jamie Jackson
Use the variable name as an attribute within the custom tag call, then set that (dynamic) variable to the caller scope in the tag. #myVar# Jamie On Tue, 11 Jun 2002 10:38:21 -0400, in cf-talk you wrote: >I know that, within a custom tag, I can set/update a variables on the >calling page usi

Re: Verity K2 having problems with PDFs?

2002-06-11 Thread Jamie Jackson
e able to shed some light on it. > > -- jon > >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: Monday, June 10, 2002 5:05 PM >To: CF-Talk >Subject: Verity K2 having problems with PDFs? > > >Can anyone shed light on my Verity 2K

Re: CFExecute creating hung processes (& Verity K2)

2002-06-11 Thread Jamie Jackson
Okay, good answers, thanks. Problem should be solved. Thanks, Jamie On Mon, 10 Jun 2002 16:52:37 -0400, in cf-talk you wrote: >I've experienced the problem where if you: > (1) Don't specify an output file > (2) Get a long output (>4K, I think) from your executable >then you get a hung process

Verity K2 having problems with PDFs?

2002-06-10 Thread Jamie Jackson
Can anyone shed light on my Verity 2K spider command-prompt output? I'm getting loads and loads of the following (it only shows in the verbose indexing output, not in the logs): Error extracting text on page 1 of C:\WINNT\Profiles\jacksonj\LOCALS~1\Temp\PDF9 Acrobat exception: A font contains a

CFExecute creating hung processes (& Verity K2)

2002-06-10 Thread Jamie Jackson
I've experienced the problem where if you: (1) Don't specify an output file (2) Get a long output (>4K, I think) from your executable then you get a hung process on your server, requiring the kill (process) command. Does this problem still occur if you *do* write an output file? Any workaround

Re:

2002-06-10 Thread Jamie Jackson
Set the path in the batch file first? SET path=c:\wherever\your\executable\is\ Jamie On Tue, 04 Jun 2002 14:59:28 -0400, in cf-talk you wrote: >Only if I run it manually from a command prompt. > >Not with > >At 02:36 PM 6/4/2002 -0400, you wrote: >>On Tue, 04 Jun 2002 13:34:57 -0400, in cf-ta

Verity K2 Web Spider - *Most* of the Way There!

2002-06-07 Thread Jamie Jackson
I've finally got my Verity K2 Web spider search up and running. However, I saw a lot of these during the index: "A font contains a bad CMap" Does this mean that I need a newer PDF filter for VK2? This error is usually seen in Acrobat reader, when you have an older version which can't read the ne

Re: Verity K2 Spider

2002-06-06 Thread Jamie Jackson
"vspider -purge" is having problems with the "parts" directory, and it doesn't seem to purge completely. I also can't delete the collection via the file system (sharing violation). Stopping the K2 and CF App services don't free the files up, either. I also tried stopping the repository and the cfe

Verity K2 Spider

2002-06-06 Thread Jamie Jackson
I would like to completely re-index a VK2 spidered Web site. I don't want it to index only new pages, I would like all of them redone. How do you do this? Also, I need to map localhost to www.mydomain.com, so that URLs are correct when they are returned. (I had misspelled the domain before, and I

Re: Verity K2 & Localhost

2002-06-06 Thread Jamie Jackson
hatnot on the sites, >but you already have to be pretty careful about that stuff with the verity >spider. > > -- jon > >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, June 05, 2002 2:57 PM >To: CF-Talk >Subject: Re:

Re: Verity K2 & Localhost

2002-06-05 Thread Jamie Jackson
epilepsy foundation >phone: 215.850.0710 >site: http://www.epilepsyfoundation.org >email: [EMAIL PROTECTED] > > > >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, June 04, 2002 5:43 PM >To: CF-Talk >Subject: Verity K2 & Localhost >

Re: Client Variable Storage: Trouble Purging

2002-06-05 Thread Jamie Jackson
Thanks, Dave. I'll give this a shot. Thanks, Jamie On Tue, 4 Jun 2002 18:48:45 -0400, in cf-talk you wrote: >> *My registry seems to be corrupted, though it's hard to say. It has >> swollen with client variables, and CF *seems* not to be able to purge >> the old ones after the designated period

Re: Client Variable Storage: Trouble Purging

2002-06-05 Thread Jamie Jackson
The DB article does help, and I'll apply the patch, thanks! Jamie On Tue, 4 Jun 2002 18:43:41 -0400, in cf-talk you wrote: >Do these help at all? > > > >>> CF *seems* not to be able to purge > >http://www.macromedia.com/v1/Handlers/index.cfm?ID=22419&Method=Full > > > >>> *Same sort of issue wi

Client Variable Storage: Trouble Purging

2002-06-04 Thread Jamie Jackson
Two questions: *My registry seems to be corrupted, though it's hard to say. It has swollen with client variables, and CF *seems* not to be able to purge the old ones after the designated period. Is there a way to manually purge them? I can't view the CF key in regedit, as regedit eats up RAM/virt

Re: Weird, inconsistent browser behavior

2002-06-04 Thread Jamie Jackson
You *are* using cookies, unless you are passing cfid/cftoken in the url. Jamie On Tue, 4 Jun 2002 14:41:33 -0700, in cf-talk you wrote: >I thought of that but the site uses session vars, no cookies necessary. > >-Original Message- >From: Brian Fox [mailto:[EMAIL PROTECTED]] >Sent: Tuesd

Verity K2 & Localhost

2002-06-04 Thread Jamie Jackson
Is it possible to spider multiple sites with virtual directories off of localhost (http://localhost/site1, http://localhost/site2, etc.), or does the site have to live at http://localhost itself? If not, doesn't that mean that you can't spider multiple sites, unless you keep changing the destinat

OLEDB Useless to Me?

2002-04-30 Thread Jamie Jackson
I cannot select more than one 'ntext' or 'text' field from a MSSQL Server 2000 DB via OLEDB. Can anybody: 1. Confirm this behavior? 2. Provide a solution? I'm using ODBC currently (does not exhibit the same problem), until I can find a solution. I post this question once a month... no bites yet

Re: How to close Excel ODBC connection at end of query

2002-04-18 Thread Jamie Jackson
You might try an intentionally bad SQL statement, and wrap it with a cftry/cfcatch to keep it quiet. select Mr_T from YoMomma where PityDaFool = WhatchooTalkinBoutWillis I think bad SQL statements terminate the connection. Worth a shot... Jamie On Thu, 18 Apr 2002 21:17:16 +0100, in cf

Re: update error

2002-04-18 Thread Jamie Jackson
> >- Original Message - >From: "Jamie Jackson" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Thursday, April 18, 2002 12:38 PM >Subject: Re: update error > > >> Please post the pertinent form html. >> >

Re: Conventional Encryption Custom Tag?

2002-04-18 Thread Jamie Jackson
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

Re: update error

2002-04-18 Thread Jamie Jackson
Please post the pertinent form html. Jamie On Thu, 18 Apr 2002 12:23:22 -0400, in cf-talk you wrote: >When I edit data in a form and click update, I get an error and cannot see why I'm >getting it. The field name is spelled correctly as it is in the database. > >Error Diagnostic Information >

Re: IsDefined and brackets

2002-04-18 Thread Jamie Jackson
Nevermind, I thought that aStruct[aField] yielded a var name. J On Thu, 18 Apr 2002 12:15:26 -0400, in cf-talk you wrote: >Try IsDefined(aStruct[aField]) ? > >Jamie > >On Thu, 18 Apr 2002 08:50:05 -0700 (PDT), in cf-talk you wrote: > >>The following code throws a syntax error: >> >> >> >> >>

Re: IsDefined and brackets

2002-04-18 Thread Jamie Jackson
Try IsDefined(aStruct[aField]) ? Jamie On Thu, 18 Apr 2002 08:50:05 -0700 (PDT), in cf-talk you wrote: >The following code throws a syntax error: > > > > > aStruct[aField] is defined > > >Is this just some CF quirk that IsDefined doesn't like >brackets or is there some good reason for thi

Conventional Encryption Custom Tag?

2002-04-18 Thread Jamie Jackson
I'm looking for a custom tag that will do the kind of conventional (passphrase-protected, but keyless) encryption that PGP can decrypt. Ideas? Thanks, Jamie _ # #

RE: Question on parametising the variables that are generated on the fly?

2002-04-03 Thread Jamie Jackson
or maybe you want but i'm also not sure what you're doing. those are some ideas, anyway. Jamie -Original Message- From: Chakka, Sudheer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 2:50 PM To: CF-Talk Subject: Question on parametising the variables that are generated on

RE: Question on parametising the variables that are generated on the fly?

2002-04-03 Thread Jamie Jackson
you might want or depending whether you want to know if it's defined, or if it's the empty string. jamie -Original Message- From: Chakka, Sudheer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 2:50 PM To: CF-Talk Subject: Question on parametising the variables that are

Re: Error when submitting form to DB

2002-04-03 Thread Jamie Jackson
Thanks for the feedback. Actually, I was exceeding the 8K *row* limitation, of which I had been unaware. Thanks, Jamie On Wed, 3 Apr 2002 04:30:04 +0700, in cf-talk you wrote: >> I've got an online form that updates a MSSQL 2000 record. When I send >> more than 3500 characters, I get the error

Possible to select more than one text field?

2002-04-03 Thread Jamie Jackson
Is it possible to select more than one field of the type "text" using CF, OLEDB, and MSSQL 2000? I can select one text field just fine: SELECT id, realtext2 FROM dbo.testview But when I try two or more: SELECT id, realtext2, realtext FROM dbo.testview ^^ ^^ I get: Error Dia

Error when submitting form to DB

2002-04-02 Thread Jamie Jackson
Please help me figure this out: I've got an online form that updates a MSSQL 2000 record. When I send more than 3500 characters, I get the error: OLEDB Error Code = 3621 The statement has been terminated. Here's the SQL: = "update respondents set q1=6 , q10='XXX...this is the string

Re: Hypothetical SQL question

2002-03-28 Thread Jamie Jackson
select * from people, grades where people.id = grades.peopleID and people.id in ( select people.id from people, grades where people.id = grades.peopleID and grades.grade = 'a' ) Something like that? May have screwed up something in there, but that's how I'd

Re: Verity Spider Weirdness -- Cannot Purge

2002-03-28 Thread Jamie Jackson
You might try stopping the server, deleting the that collection's folder in \CFUSION\Verity\Collections, restart the server, and recreate the collection from your template or the cf admin. Jamie On Thu, 28 Mar 2002 09:28:10 -0500, in cf-talk you wrote: >I'm trying to create and index a collecti

Re: Dynamic attributes in CF tags?

2002-03-27 Thread Jamie Jackson
IM : morpheus > >"My ally is the Force, and a powerful ally it is." - Yoda > >> -Original Message- >> From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, March 27, 2002 3:26 PM >> To: CF-Talk >> Subject: Dynamic attributes in C

Dynamic attributes in CF tags?

2002-03-27 Thread Jamie Jackson
Is it possible to dynamically generate attributes in CF tags? Of course it's possible to dynamically change attribute values: But, is it possible to dynamically control *inclusion* of the attribute itself? For instance: The above doesn't work, and neither does this: attribute="#myVar#">> My

Re: Getting field names, etc. from MSSQL 2000

2002-03-27 Thread Jamie Jackson
e. > > >select * from information_schema.columns >order by table_name, column_name > > > >#table_name# > >#column_name# #data_type# #character_maximum_length# > > > >HTH >D > > > > >Diana Nichols >Webmistress >http://www

Re: Getting field names, etc. from MSSQL 2000

2002-03-27 Thread Jamie Jackson
SQL commands for this but >we found a tool that is fantastic for documenting SQL2000 Databases with >pretty much anything you would need. > >http://www.jn-software.com/sql2000print_features.html > >Regards, >Neil > >-Original Message- >From: Jamie Jackson

Getting field names, etc. from MSSQL 2000

2002-03-27 Thread Jamie Jackson
Is it possible to get information about a table via SQL (or some other method)? I would like to get field names, datatypes/lengths, etc. I am using MSSQL 2000. Thanks, Jamie __ Your ad could be here. Monies from ads go to suppor

Looped CFTRYs to re-attempt query?

2002-03-25 Thread Jamie Jackson
(Newsgroup folks: Sorry about the repeated post.) I'm having a very intermittent MSSQL connection problem when using OLEDB connections: OLEDB Error Code = 18456 Login failed for user 'myLogin' The only recommendation I have been given on CFTALK is to disable "maintain db connections" in the adm

Restart CF from command line?

2002-03-15 Thread Jamie Jackson
I'd like to be able to restart the CF service from a template. Does anyone have a .bat file that I could use with , or some such solution? Thanks, Jamie __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD

Re: What's wrong with this simple UDF?

2002-03-12 Thread Jamie Jackson
> str = trim(str); > if (strLen GT length) { > > >Shawn Grover > >-----Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, March 12, 2002 12:27 PM >To: CF-Talk >Subject: What's wrong with this simple UDF? > > &

What's wrong with this simple UDF?

2002-03-12 Thread Jamie Jackson
function pad(str, length, padChar) { str = trim(str); var strLen = len(str);//<--##This is the error line## var difference = length - strLen; if (strLen GT length) { newStr = str; } else { newStr = str & repeatstring(padChar, difference); } return newstr; } Here's the error I'

Re: Moving MSSQL DB from Dev to Prod

2002-02-28 Thread Jamie Jackson
Thu, 28 Feb 2002 16:32:22 -, in cf-talk you wrote: >Backup your dev database to a file, upload it to live server, and force >a >restore over the current db, works for me. > >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: 28 February 200

Moving MSSQL DB from Dev to Prod

2002-02-28 Thread Jamie Jackson
What's the typical way to copy one's development DB to production (SQL2000)? Changes will commonly be made on Dev, and there will be an existing version on production which will need to be overwritten. I know about the "copy database" wizard, but AFAIK, it doesn't work if the DB already exists on

Re: access query?

2002-02-25 Thread Jamie Jackson
Take out the parenthesized data types. Jamie On Mon, 25 Feb 2002 11:03:48 -0800, in cf-talk you wrote: >I have not messes with access before, and I am getting the following >error. > >ODBC Error Code = 22005 (Error in assignment) > > >[Microsoft][ODBC Microsoft Access Driver] Data type misma

Re: Joining Tables from Different Datasources... Possible?

2002-02-25 Thread Jamie Jackson
m SearchQuery,MyTable >Where SearchQuery.column1 = myTable.ID > > > >- j > >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: Monday, February 25, 2002 12:07 PM >To: CF-Talk >Subject: Re: Joining Tables from Different Datasources... Possibl

Re: Form?

2002-02-25 Thread Jamie Jackson
Something like this: Form.#i# is a NULL string. On Mon, 25 Feb 2002 10:03:00 -0800, in cf-talk you wrote: >Is there a way to check a form to see if any fields were left "" without >having to check each one independently? > > > > >"Success is a journey, not a destination!!" > > > >D

Re: Joining Tables from Different Datasources... Possible?

2002-02-25 Thread Jamie Jackson
echNet/pro dte >chn >ol/sharepoint/evaluate/featfunc/mssearch.asp >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: 25 February 2002 17:04 >To: CF-Talk >Subject: Re: Joining Tables from Different Datasources... Possible? > > >>if you

Re: Joining Tables from Different Datasources... Possible?

2002-02-25 Thread Jamie Jackson
I don't see how this ties in the DB table :-/ Thanks, Jamie On Mon, 25 Feb 2002 10:58:59 -0500, in cf-talk you wrote: >Try Query of Queries. > >- j > > > > > >Select * from SearchQuery >Where blah like '%blah%' > > > >-Original M

Re: Joining Tables from Different Datasources... Possible?

2002-02-25 Thread Jamie Jackson
elf-maintaining)you can build sql >statements combining db tables and file indexes. > >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: 25 February 2002 15:19 >To: CF-Talk >Subject: Re: Joining Tables from Different Datasources... Possible? >

Re: Joining Tables from Different Datasources... Possible?

2002-02-25 Thread Jamie Jackson
QL >Server >locally in a DMZ. > >Good Fortune, >Rick Walters >Webmaster, Davita Laboratory Services >Office: (800) 604-5227 >Cell: (407) 491-9848 > >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: Friday

Re: MS-Access: nulls in numerics?

2002-02-22 Thread Jamie Jackson
how about: WHERE (field = '') OR (field IS NULL) Jamie On Fri, 22 Feb 2002 16:53:27 -0600, in cf-talk you wrote: >I believe I am getting 'syntax error in SQL statement' type of error >messages because some of the rows in a numeric column in an Access database >have zero and others are blank,

Re: Joining Tables from Different Datasources... Possible?

2002-02-22 Thread Jamie Jackson
>If this is not the case, you will need to use CF 5. I am indeed running CF5. I'm assuming you're referring to using query of queries: I know how to run a query of one query, but I don't know how to run a query that uses the results of two queries. How is this done? Thanks, Jamie On Fri, 22 Fe

Joining Tables from Different Datasources... Possible?

2002-02-22 Thread Jamie Jackson
How would I do a join of tables from two different datasources? Thanks, __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/

Re: OLEDB connection failing intermittently!

2002-02-21 Thread Jamie Jackson
nistrator? I've found that when that box is checked, I get intermittent >errors. > >tom > >"Jamie Jackson" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> My CF (OLEDB) connection to MSSQL is failing intermi

Re: A-Z 0-9 form validation

2002-02-14 Thread Jamie Jackson
What kind of variables are you using? I'll assuming you're not using the application scope for the email address. ;-) Are you locking your session reads and writes? Jamie On Thu, 14 Feb 2002 14:31:24 -0500, in cf-talk you wrote: >Hi list . . . > >just a little help please . . . > >I have a for

OLEDB connection failing intermittently!

2002-02-14 Thread Jamie Jackson
My CF (OLEDB) connection to MSSQL is failing intermittently, and I can't recreate the problem. I have even looped a query 10,000 times with 100% success. Every once in a while, maybe 1/1000 times, a user will generate the attached error (I'm catching the error and mailing it to myself). I'm runn

Re: Access to SQL Server

2002-02-08 Thread Jamie Jackson
Set the identity property of that column to yes. Jamie On Fri, 8 Feb 2002 08:35:55 -0700, in cf-talk you wrote: >In Access you can set the primary key to auto number - how do you do this in >SQL Server? I would assume that has something to do with this error that I >am getting: > > Err

CFMAIL: To Wrap, or Not to Wrap?

2002-02-08 Thread Jamie Jackson
Is it best practice to pre-wrap the body of a plain-text CFMAIL, or can I let it flow, and rely on users' email clients to wrap it? I seem to remember having wrapping problems in some clients if I didn't pre-wrap in 4.5, but I can't really remember. Thanks, __

Re: CFMAIL: Apostrophes in Email Addresses

2002-02-06 Thread Jamie Jackson
It seems that wrapping the email address in <> works. Jamie On Wed, 6 Feb 2002 10:47:57 -0500, in cf-talk you wrote: >I've got a user whose email address is: >firstname.o'[EMAIL PROTECTED] > >I've seen a lot of email addresses, and have never seen an apostrophe in one >before, but most email c

Problems with SELECT statements w/ MSSQL OLEDB

2002-02-06 Thread Jamie Jackson
I seem to get the attached error when I select more than one 'text' field. I've got the following MSSQL table: --- 3 SuggestionsID int 40 0 UserID int 40 0 OrgChart text 161 0 WhatPersHave text 161 0 FFSCHave te

CFMAIL: Apostrophes in Email Addresses

2002-02-06 Thread Jamie Jackson
I've got a user whose email address is: firstname.o'[EMAIL PROTECTED] I've seen a lot of email addresses, and have never seen an apostrophe in one before, but most email clients are okay with it (including Outlook/Exchange). CFMAIL seems to be choking on it, and I think CFMAIL is either not send

Re: CGI variables

2002-02-04 Thread Jamie Jackson
Nice, meaty answer. Thanks. Is this a decent way to output them, or is there something more elegant that skips the array conversion? (I'm not terribly familiar with structures yet.) aryCGI = StructKeyArray(cgi); for (i=1; i LTE arrayLen(aryCGI); i=i+1) { cgiKey = aryCGI[i]; cgiV

CGI variables

2002-02-04 Thread Jamie Jackson
True or False? ALL CGI variables are ALWAYS "defined" within CF, so you test for them using len() instead of isdefined(). I want to be 100% certain that I don't need to use isdefined() for them. Thanks, Jamie __ Why Share? D

Re: Custom Tags

2002-02-04 Thread Jamie Jackson
Combination of request-scoped queries and "Query of Queries?" Jamie On Mon, 4 Feb 2002 15:25:26 -0600, in cf-talk you wrote: >I have a question -- looking for a better way of doing things: > >Currently, I am using custom tags to run queries, and take the various bits >of information and re-pac

Re: Testing for presence of array?

2002-02-01 Thread Jamie Jackson
Great! Thanks, Jamie On Fri, 1 Feb 2002 09:27:21 +0100, in cf-talk you wrote: > > >and if you want to make shure it's an array > > > >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: vrijdag 1 februari 2002 9:21 >To: CF-Tal

Testing for presence of array?

2002-02-01 Thread Jamie Jackson
How do you test for the existence of an array (not an array element, but the array itself)? I'm trying to manipulate an array that may or may not exist. Thanks, __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM /

Re: How do you use UDFs in CF 5

2002-01-31 Thread Jamie Jackson
Start by sticking them in the same page you're calling from (just to get the hang of it): function sayHello (name) { return 'Hello, ' & name; } sayHello('Joe') Yields: Hello, Joe But the best way is to stick all of your UDFs on one page, and include the file in your application.cfm.

Proper way to check for successful subexpression match?

2002-01-31 Thread Jamie Jackson
Hi, What needs to be in place of "whatGoesHere" in the following code block? I'd like to know the proper way to determine whether or not my subexpression was matched. If you just refer to the structure elements pos and len, when there is no match, CF throws an error. // find pattern and return s

Re: Optional UDF arguments

2002-01-29 Thread Jamie Jackson
= >Raymond Camden, Principal Spectra Compliance Engineer for Macromedia > >Email: [EMAIL PROTECTED] >Yahoo IM : morpheus > >"My ally is the Force, and a powerful ally it is." - Yoda > >> -Original Message- >> From: Jamie Jackson [mailto:[EMAIL PROTE

Re: Simple Regular Expression Question ($ and ^)

2002-01-14 Thread Jamie Jackson
her olive, cto, vp of web development >cresco technologies, inc >410.825.0383 >http://www.crescotech.com > > >-----Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: Monday, January 14, 2002 2:08 PM >To: CF-Talk >Subject: Simple Regular Expres

Simple Regular Expression Question ($ and ^)

2002-01-14 Thread Jamie Jackson
Does CF's regex have an end/beginning of string anchor? (e.g. "$" and "^", respectively, in other languages) Thanks, __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Acti

Verity returning uppercase titles

2001-12-26 Thread Jamie Jackson
Verity is returning uppercase titles from an index of HTML files, whereas the titles in the documents themselves are mixed-case. Does anybody have any ideas as to what is happening? __ Why Share? Dedicated Win 2000 Server · PI

Re: An Error that is driving me crazy!

2001-12-06 Thread Jamie Jackson
Don't know about the error, but you want to lock it with type="exclusive" since you're doing a set: Jamie On Thu, 6 Dec 2001 16:14:41 -0600, in cf-talk you wrote: >I am getting "The page cannot be displayed" in IE and "This document contains no >data" in Netscape. Here is my code for this pa

Re: Need your help - http header

2001-12-06 Thread Jamie Jackson
This is the idea, but it's probably got some flaws. Someone will correct it, I'm sure ;-) http://www.yahoo.com/customer/file.sms";> Jamie On Fri, 7 Dec 2001 06:04:38 +0800, in cf-talk you wrote: >I'm sorry, but I didn't get you, >Example code: > >Post /customer/file.sms >Host: www.yahoo.c

Re: Stupid cfexecute

2001-12-06 Thread Jamie Jackson
II >Dixon Ticonderoga >Web Developer Extraordinaire > >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: Thursday, December 06, 2001 1:36 PM >To: CF-Talk >Subject: Re: Stupid cfexecute > > >Two questions: > >*Have you tried it wit

Re: Wrapping a list when displayed

2001-12-06 Thread Jamie Jackson
Tough luck getting long strings to wrap in Netscape. You would think that replacing "," with "," or something would work, but it doesn't. If you don't need you display to be absolutely faithful to the original, you could the following when you output: #replace(list, ',', ', ', 'all')# or #listcha

Re: Random passwords

2001-12-06 Thread Jamie Jackson
There are many options on the Developer's Exchange: http://devex.allaire.com/Developer/Gallery/SearchResults.cfm?keywords=r andom+password Jamie On Thu, 6 Dec 2001 10:29:46 -0800, in cf-talk you wrote: >Does Anybody know how to generate random passwords for new users? > > > > >

Re: Stupid cfexecute

2001-12-06 Thread Jamie Jackson
Two questions: *Have you tried it without the timeout attribute? *Have you tried name="c:\\winnt\system32\cmd.exe" (admittedly, I don't know what rmtcmd.exe is) *How much data does this return when done at the command line? (A reply to one of my old posts follows) >Actually, there is an "undocume

Re: Need your help - http header

2001-12-06 Thread Jamie Jackson
jamie On Fri, 7 Dec 2001 02:07:41 +0800, in cf-talk you wrote: >Does anyone got any idea how to generate a custom http header? > >Scenario: >Send http post to a url ie. http://localhost/receiver.cfm > >Receiver.cfm must read exactly the following: > > >

Re: SQL?

2001-12-06 Thread Jamie Jackson
USA and Europe is 300 each, and the sales f >or >Asia is 100, the following expression returns the set {Asia, USA, Europe} >, >not the set {Asia, Europe, USA}: > >Order({USA, Europe, Asia}, Sales, BASC) > >©1988-2000 Microsoft Corporation. All Rights Reserved. > > >Dou

Re: Weird problem with CF-Talk on newsgroups

2001-12-06 Thread Jamie Jackson
Dimo asked privately how to post to the group via a newsreader. Steps: 1. Subscribe to the digest version of cf-talk, and have your email client filter those digest emails straight to the trash can. 2. Use fuseware.com as your news server. 3. Your news reader should support "reply by email" and "

Re: SQL?

2001-12-06 Thread Jamie Jackson
In tables where I need arbitrary sorting ability, I've set up a numeric "sortby" field, wherein I order items manually (could get tedious if you have 100 rows in a table, but I never have that many in an arbitrarily-sorted table). I set the default value to, say, 100 or 1000, so that items are aut

Re: Weird problem with CF-Talk on newsgroups

2001-12-06 Thread Jamie Jackson
Works perfectly on Forte Agent (where I'm writing from now). I can't imagine trying to sort out all these posts in an email client. Jamie On Thu, 06 Dec 2001 11:04:33 -0500, in cf-talk you wrote: >Has anyne tried to use the news.fuseware.com newsserver to access >CF-Talk. I have been reading

Re: A little RegEx help . . .

2001-12-05 Thread Jamie Jackson
>Err... yes, it would work... No it wouldn't. Use this string instead, and you'll see the problem. Jamie On Wed, 5 Dec 2001 16:36:52 -0500, in cf-talk you wrote: >Err... yes, it would work... > > > > Found 0 at position 2 in string #string# > > Didn't find 0 at position 2 in string

Re: A little RegEx help . . .

2001-12-05 Thread Jamie Jackson
That's fine if the first character cannot be 0, if it can, your conditional will return false. Also, I bet mid is faster than a regular expression find. Furthermore, it seems that "Find" would do the job. REFind is overkill because you're not even checking against a regular expression. REFindNoC

Re: A little RegEx help . . .

2001-12-05 Thread Jamie Jackson
rather: misread your post. j On Wed, 05 Dec 2001 13:13:56 -0500, in cf-talk you wrote: > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/cold

Re: "2D" Query Grouping

2001-12-05 Thread Jamie Jackson
Do a query of your original query, and sort differently the second go-round? Jamie On Tue, 4 Dec 2001 23:53:01 -0500 (EST), in cf-talk you wrote: >I have several instances where I need to group by more than one condition. > >For example, I create a sales report where I show BY DAY the total o

Re: A little RegEx help . . .

2001-12-05 Thread Jamie Jackson
Jamie On Wed, 5 Dec 2001 12:42:53 -0500, in cf-talk you wrote: >I need to look and see if the second character of a three character string >is a "0" (zero). How would I do that? > > do something 8-) > >Thanks, >Dave > > > ~~ Get the mailser

Re: Limitations in "Missing Template Handler" Template?

2001-12-04 Thread Jamie Jackson
(in CF Administrator) to clean your >pathing up. > >- Original Message ----- >From: "Jamie Jackson" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Tuesday, December 04, 2001 11:04 AM >Subject: Re: Limitations in "Mi

Re: what is going on??

2001-12-04 Thread Jamie Jackson
Try and make sure your query is returning a result set. I'll bet it's not. J On Tue, 04 Dec 2001 17:17:04 -0500, in cf-talk you wrote: >I can't figure out what's going on with this code. I create a >simple page that has a cfoutput block. I upload it to the server >and the cfoutput block and ev

Re: Limitations in "Missing Template Handler" Template?

2001-12-04 Thread Jamie Jackson
Okay, figured it out. Both and will work. With you need to output the variable, as opposed to letting display it directly. With the pathing is screwy. I used a bunch of "up-directories" (../) to get all the way to the root of the server drive, and then used absolute pathing to get back do

Re: Limitations in "Missing Template Handler" Template?

2001-11-30 Thread Jamie Jackson
I've found that HTTP redirects and s function properly, but they don't quite have the behavior I need within my custom CF 404 page. So, I'm still wondering about s within my "Missing Template Handler" page. Possible, or no? Is there anything special I need to do with the to make it work? Thank

Re: udf in custom tag, problem with end tag

2001-11-30 Thread Jamie Jackson
Two things to play with: *Try using the request scope instead of the caller scope. Line 2 of your custom tag looks suspect to me. *Try clearing out thistag.generatedcontent, as it's screwed me up before. I doubt if this will help, but if you're grasping... Jamie On Fri, 30 Nov 2001 20:25:36 +

Re: Query of query question

2001-11-30 Thread Jamie Jackson
Well if this were to work, I would think you would need to make a modification or two (but I'm not saying it could work): SELECT quantity FROM session.basket WHERE ProductID = #var(URL.productID)# Jamie On Fri, 30 Nov 2001 17:09:47 -, in cf-talk you wrote: >Hi > >I

Re: WAP and CFM

2001-11-30 Thread Jamie Jackson
If you haven't done any WAP yet, here is a good CF primer: http://www.wapuseek.com/wap_cf.cfm Jamie On Fri, 30 Nov 2001 12:06:06 -0600, "Mookie Bear" <[EMAIL PROTECTED]> wrote: >hey guys, please tell me if this is possible. > >I want to create a WAP application where my friends, who have >inte

Re: OT: help w/ query

2001-11-30 Thread Jamie Jackson
I think every column in your SELECT statement must be present in your GROUP by clause (except for aggregate functions). Jamie On Fri, 30 Nov 2001 10:34:55 -0800, in cf-talk you wrote: >I have the following query that I need to get the sum of the sysPrice >from. I keep getting an the ol aggrega

Re: ArraySort

2001-11-30 Thread Jamie Jackson
There's also a tag on the DevEx called MD_Array_Sort. (One undocumented "feature" is that I think you have to specify at least two sort fields) >From the docs: Description This tag will sort a 2D Array on the specified column(s). The tag will sort based on one or more columns. If a column is n

Limitations in "Missing Template Handler" Template?

2001-11-30 Thread Jamie Jackson
I'm trying to set up a custom 404 template that can (individually) handle multiple sites' (CF) 404 errors (they are hosted on the same server). I'm having trouble with s and s within the custom CF 404 template: I can't get them to work. Are these disabled to prevent endless 404 error loops? If n

Re: Problems with User Defined Functions within SQL

2001-11-29 Thread Jamie Jackson
== >Raymond Camden, Principal Spectra Compliance Engineer for Macromedia > >Email: [EMAIL PROTECTED] >Yahoo IM : morpheus > >"My ally is the Force, and a powerful ally it is." - Yoda > >> -Original Message- >> From: Jamie Jac

Problems with User Defined Functions within SQL

2001-11-29 Thread Jamie Jackson
I'm having problems using User Defined Function calls within if the function returns any single quotes. I've included code and the resultant debug output. Note that single quotes are improperly escaped in the SQL. What's the solution? Code follows... Thanks, Jamie ### CODE INS

Re: My header/footer inclusion scheme hinders Verity searches!

2001-08-03 Thread Jamie Jackson
to accomplish this, I'd love to hear about them. > > >-Andy > >-Original Message- >From: Jamie Jackson [mailto:[EMAIL PROTECTED]] >Sent: Friday, July 27, 2001 1:38 PM >To: CF-Talk >Subject: My header/footer inclusion scheme hinders Verity searches! > > &

<    1   2   3   4   5   >