RE: Character count on record count??/

2003-03-12 Thread Janine Jakim
of 5000?--- CFOUTPUT#(Len(NarrativeGet.EduLevelNarrative[I])# /CFOUTPUT /CFLOOP Thanks, j -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 5:17 PM To: CF-Talk Subject: RE: Character count on record count??/ : 2. count the characters used in each

RE: Character count on record count??/

2003-03-12 Thread Robertson-Ravo, Neil (RX)
Why can't you just use SQL? SELECT LEN(yourfield) AS 'Length' Neil -Original Message- From: Janine Jakim [mailto:[EMAIL PROTECTED] Sent: 12 March 2003 14:27 To: CF-Talk Subject: RE: Character count on record count??/ Maybe I'm making this harder than it is (that's usual for me

RE: Character count on record count??/

2003-03-12 Thread Ben Doom
: !---Here is my test output of the data- it shows correctly the length of : each narrative- : So the question is how do I get a sum or/do narrative + narrative : +narrative : to get blocks of 5000?--- : CFOUTPUT#(Len(NarrativeGet.EduLevelNarrative[I])# : /CFOUTPUT Initialize a temp variable to

RE: Character count on record count??/

2003-03-12 Thread Janine Jakim
PROTECTED] Sent: Wednesday, March 12, 2003 9:48 AM To: CF-Talk Subject: RE: Character count on record count??/ : !---Here is my test output of the data- it shows correctly the length of : each narrative- : So the question is how do I get a sum or/do narrative + narrative : +narrative : to get blocks

RE: Character count on record count??/

2003-03-12 Thread Ben Doom
Programmer General Lackey Moonbow Software, Inc : -Original Message- : From: Janine Jakim [mailto:[EMAIL PROTECTED] : Sent: Wednesday, March 12, 2003 11:06 AM : To: CF-Talk : Subject: RE: Character count on record count??/ : : : Well the page part was easy enough to do. : It's

RE: Character count on record count??/

2003-03-12 Thread Janine Jakim
equal Narrative1/Narrative2/Narrativd3 Does that make sense? -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:24 AM To: CF-Talk Subject: RE: Character count on record count??/ Why not just keep a running total inside the loop, as I thought I

RE: Character count on record count??/

2003-03-12 Thread Ben Doom
: Running a cfoutput TotalLen/Narrative[I] looks fine on a regular display. : I think it's the behavior of activepdf that is the problem. : Each [i] must be identified/hardcoded on the pdf ie: Narrative1, : narrative2, : Narrative3, Narrative4 : So on my action page up to 5000 characters may make

RE: Character count on record count??/

2003-03-11 Thread Ben Doom
: 2. count the characters used in each narrative. Retrieve the narratives and use len() on them. Probably add some to it to allow a break between narratives. : 3. Output the narratives in chuncks of 5000 characters. (or to the : narratives that come close to 5000) For example :