Try this: http://martin.nobilitas.com/java/sizeof.html
The empirical formula derived there indicates that string memory is
38+/-2 + 2*(string length) bytes. In my own tests on JDK 1.4.2_09 I got
something similar: 40 + 2*(string length) bytes when length2. For
length 0 to 2, the size works out to
if you generate the content files and save them as static files, you can
just cfinclude them into your cfmail then you won't need to evaluate them.
BTW, if your sending out that much mail, I hope you have a dedicated SMTP
server and are not using the SMTP on IIS.
Russ
-Original Message-
That could be. I vaguely remember that the spec wasn't final, but was
very, very close. This was probably 6 months ago or so. Maybe that
timeline will tell you something. And I did use the wiki several
times so who knows what insanity I mixed in. :-)
I'll go back and take a look at my code
Thanks, all. These suggestions will get me close enough for what I
need. Fortunately, this data isn't required for anything essential.
I appreciate all the help.
On 4/20/06, Ashwin Mathew [EMAIL PROTECTED] wrote:
Try this: http://martin.nobilitas.com/java/sizeof.html
The empirical formula
On Wednesday 19 April 2006 17:24, Bruce, Rodney S C-E LCMC HQISEC/Signal
Solutions wrote:
If there is a better way to do this, please let me know. I don't really
like the way I am doing it, but unfortunetly I havent come up with anything
better and I do seem to do things the hard way.
On Wednesday 19 April 2006 16:26, Russ Michaels wrote:
I have seen several benefits.
Don't get me wrong, I think it's a Good Thing.
I'm not going to be writting anything that uses BD only tags though - look
where doing that with IE got us a few years back :-)
--
Tom Chiverton
Advanced
Yes, I was thinking that a cube of this would probably provide most of
the desired info in a query (although I haven't looked closely enough
to be sure). Does your DB do cube and rollup?
On 4/20/06, Thomas Chiverton [EMAIL PROTECTED] wrote:
On Wednesday 19 April 2006 17:24, Bruce, Rodney S C-E
On Wednesday 19 April 2006 15:43, Neil Middleton wrote:
Currently the site is aggregating ~500 RSS feeds, but checking these feeds
is growing to be a pain in the butt. Having to get CF to check each of
these feeds regulary (ideally every 15 minutes) is more difficult than it
sounds.
Why not:
On Wednesday 19 April 2006 21:55, Andy Allan wrote:
The crap, though official answer will most likely be that CFMX7.01
isn't supported on 9.1 - only 7 and 8.1
And all I can add is that we have it on 7 and running fine :-}
--
Tom Chiverton
Advanced ColdFusion Programmer
Well, what I have gone for as an interim is something similar.
Every feed has a lastCheck time, and every minute, the app checks the oldest 10
feeds. Therefore each feed should get checked roughly hourly.
Seems to be working well at the moment, I'll consider dropping the frequency
once I know
Subqueries aren't even allowed in versions lower than 4.1.3.
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006
Somebody cut that guy off! He's had too much to drink.
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: Denny Valliant [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 8:03
That's pretty cool.
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 8:29 PM
To: CF-Talk
Subject: Re:
Thanks again John...appreciated!
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 8:33 PM
To: CF-Talk
So, based on Roger's comments, I checked my code and, in fact, there
is no Atom 1.0 element analogous to TTL. And I didn't make one up for
inclusion in my code. :-)
Thanks for the clarification.
On 4/20/06, Roger Benningfield [EMAIL PROTECTED] wrote:
I surely thought I remembered one from
I'm breaking all of my SQL out into a CFC library as a first step
towards supporting multiple database types. It's a pretyt sizeable
task, and, obviously, I'd like to be able to reference the
self-documenting features of CFC's. The problem is, when browsing
directly to the CFC in the hopes of
Not really for CF, but though someone here could lend some insight
There is one problem in Javascript that I cannot seem to get a handle on and
it is killling me! I can't seem to get variables to pass by value as I would
hope. Take the following example:
for (var intI = 0 ; intI 10 ;
Do you have access to the cfide? In other words, can you get to the
administrator?
You must have the cfide available to get to that documentation I believe.
On 4/20/06, Pete Ruckelshaus [EMAIL PROTECTED] wrote:
I'm breaking all of my SQL out into a CFC library as a first step
towards
Yes, it's on my local workstation.
On 4/20/06, Ryan Guill [EMAIL PROTECTED] wrote:
Do you have access to the cfide? In other words, can you get to the
administrator?
You must have the cfide available to get to that documentation I believe.
I am not very familiar with the CFC doc viewer, but I believe it runs
through CF Administrator. Try logging into CFAdmin first, then view the CFC.
See if that helps.
...
Ben Nadel
www.bennadel.com
~|
Performance on
the mailer is a lot slower than I'd like, and I suspect its because I'm
using evaluate.
Here is a test I made on my develop system (3000 MHz):
CFSET myStruct = structNew ()
CFSET myStruct.myvar = test
CFSET start = GetTickCount()
CFLOOP INDEX=i FROM=1 TO=10
CFSET test =
Well I have been using JDBC Statement call from CF and it will return you
number of records effected for updated, inserts or deletes.
Really? Then CF has no excuse anymore.
--
___
REUSE CODE! Use custom tags;
See
I logged in to cfadmin and then browsed to the CFC, still no dice.
On 4/20/06, Ben Nadel [EMAIL PROTECTED] wrote:
I am not very familiar with the CFC doc viewer, but I believe it runs
through CF Administrator. Try logging into CFAdmin first, then view the CFC.
See if that helps.
Wouldn't that just be len(string) ?
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Rob Wilkerson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 9:28 AM
To: CF-Talk
Subject: Get String Byte Size
Anyone have any quick code to
Or len(string) * 8?
Isn't each ascii character one byte? Or is it one bit? And it it is
wouldn't just be len(string) / 8?
--
Timothy Heald
Analyst, Architect, Developer
[EMAIL PROTECTED]
W: 202-228-8372
C: 703-300-3911
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL
The onclicks are outside of the loop
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 9:35 AM
To: CF-Talk
Subject: OT: Javascript help
Not really for CF, but though
That just returns the number of characters, not the file size those
characters would have.
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Bobby,
I don't think they are, it might just parse weird for CFTalk... However,
this is just sample code that I wrote in the email, so it might not be 100%
accurate. But, in real test cases, when I do put the onclick I nthe FOR
loop, they still all alert the same number.
...
Maybe I'll get caffeine in me before I answer the next one. I'll take a
closer look ;-)
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 9:35 AM
To: CF-Talk
Subject: OT:
I have an event table that I need to output the data in a specific
fashion, based on dates, like so:
April
19th
event1
event2
event3
26th
event4
event5
30th
event6
Oops yes, / 8
The OS and cluster sizes may also make a difference ;-)
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Loathe [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 10:05 AM
To: CF-Talk
Subject: RE: Get String Byte Size
The loop is fine. It's difficult to see the braces in the text, but
they're correct. Maybe you can't pass objects by value? You would
think that, if it were possible, using the var keyword would ensure a
new variable.
On 4/20/06, Ben Nadel [EMAIL PROTECTED] wrote:
Bobby,
I don't think they
Thanks dan this is just what I was looking for!
gabe
-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 10:41 AM
To: CF-Talk
Subject: RE: Gzip content from a variable
Gabe,
I have been using cf_gzip for a while but would like to
you should get either the admin password screen or if no password on
localhost it should change the url to something like
http://localhost/CFIDE/componentutils/cfcexplorer.cfc?method=getcfcinhtmlname=yourdotnotation.yourcfcpath=/yourpath/yourcfc.cfc
On 4/20/06, Pete Ruckelshaus [EMAIL
This might not be the best solutions, but what if you did:
SELECT
startdate, event_title,
( YEAR(startdate) ) AS event_year,
( MONTH(startdate) ) AS event_month,
( DAY(startdate) ) AS event_day
FROM events
WHERE active=1
ORDER BY startdate ASC
Then, on the output you could do a CFOutput and
I typically do my own groupings
cfset curMonth=
cfset curDay=
cfloop query=
cfif month(date) neq curMonth
#month#
cfset curmonth=month(date)
cfset curDate=
/cfif
cfif day(date) neq curDay
#day#
cfset curDay=day(date)
/cfif
#date line#
/cfloop
On
What RDBMS?
In Oracle you can do something like this:
SELECT extract(month from startdate) as event_month, extract(day from
startdate) as event_day, event_title
FROM events
WHERE active=1
ORDER BY startdate ASC
-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED]
Sent:
SQL Server 2K, sorry.
Everett, Al (NIH/NIGMS) [C] wrote:
What RDBMS?
In Oracle you can do something like this:
SELECT extract(month from startdate) as event_month, extract(day from
startdate) as event_day, event_title
FROM events
WHERE active=1
ORDER BY startdate ASC
SELECT year(date) as year, Month(date) as month, Day(date) as day
FROM yourtable
ORDER BY year, month, day
then simply use the group attribute of cfoutput.
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
the most I can think of is to evaluate the value right at the function
declaration:
objA.onclick = eval ('function(){ alert( ' + intI + ' ); };');
On 4/20/06, Ben Nadel [EMAIL PROTECTED] wrote:
Not really for CF, but though someone here could lend some insight
There is one problem in
Hi Ray
Add the date parts to your select using date functions e.g. startdate_year,
startdate_month and startdate_day.
add a 'group by startdate_year, startdate_month, startdate_day' clause to
your query and then take a look at the 'group' attribute on cfoutput.
(I've added in year so that
Zaphod,
I think that solution works for strings/numbers, but I would also like this
to work with object refrences ... Something like:
objMenu.onmouseover = function(){
objMenuSystem.Show(this);
}
The problem here is the same... When the mouse over fires, objMenuSystem
is no undefined
Is this what you were going for?
html
body
div id=mainContainer/div
/body
/html
script
for (IntI = 0; IntI 10; IntI++)
{
divCont = document.createElement('DIV');
divCont.id = 'div' + IntI;
PS... in your original code
It's like they all point to
one variable and then get
updated for each loop of the FOR iteration
They do. Each of your onclicks triggered the same function that alerted the
same variable. The last time the variable was set, it was 10. So they are
all 10.
Every since I switched to CF 7 my code seems to add a comma in front of some
fields when it does a search. See my code below. I don't have this in the
Access dbase nor in my script. Is there an issue with CF 7? Are there any fixes
or updates that address this?
This problem cause searches to
Bobby,
I cannot seem to get the onCLick to fire in my browser. Granted I am using
IE in Homesite. But, my concern with this solution is that I feel (without
testing) that it is string dependent.
divCont.setAttribute('onClick', 'alert(' + IntI + ')');
That line is going to try to force intI to
Robert,
This might happen if you were submitting the form field in two different
places (like a hidden value as well)... The comma would be CF's attempt to
pass the two values in as a list (comma delimited).
Also, are you doing any sort of pre-page processing that might alter form
fields??
Try
Check for multiple form fields with the same name being submitted.
They will be appended into a comma delimited list.
~Brad
-Original Message-
From: Orlini, Robert [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 10:01 AM
To: CF-Talk
Subject: Comma added
Every since I switched
Are you using any list functions anywhere?
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: Orlini, Robert [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 10:01 AM
To:
Thanks everyone for the various solutions.
My favorite was Andy's. Nice and clean, and minimal impact on the code
I had already written.
Andy, you win your choice of prizes from our infamous prize closet! :)
Andy Matthews wrote:
SELECT year(date) as year, Month(date) as month, Day(date) as
I'm looking to find a UK CF developer for a 3(ish) month contract. Besides
the cf-jobs list, can anyone recommend some popular places where people look
for job postings or where potential employers can find developers?
Thanks
Gareth
You're right Ben. That fixed it!.
It was an old script I wrote many moons ago.
Robert O.
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 11:04 AM
To: CF-Talk
Subject:RE: Comma added
Robert,
This might happen if you were
Thanks
-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 11:06 AM
To: CF-Talk
Subject:RE: Comma added
Check for multiple form fields with the same name being submitted.
They will be appended into a comma delimited list.
~Brad
www.scottishcfug.com
Paul Stewart
Site Developer
[EMAIL PROTECTED]
www.whichfranchise.com
- Original Message -
From: Gareth [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, April 20, 2006 4:09 PM
Subject: OT: finding uk developers
I'm looking to find a UK CF
Michael, I just tried that, but no dice. Threw an error, looked like
it was trying to pass me to the componentexplorer and told me that my
method doesn't exist.
However, after poking around a bit, I was able to see it listed in
http://localhost/CFIDE/componentutils/componentdetail.cfm and was
Try getting the 2 UK based CF User Group managers to post something.
One of them being Nik Richardson and the other being me :)
www.scottishcfug.com
www.ukcfug.org
Andy
On 20/04/06, Gareth [EMAIL PROTECTED] wrote:
I'm looking to find a UK CF developer for a 3(ish) month contract. Besides
the
Wow...
This list has given me so much, I'm just glad I could help out someone else.
Got any chocolate or firearms in that closet?
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From:
Better. Firearms that shoot chocolate.
m.chocolate shooting firearms.arh
Andy Matthews wrote:
Wow...
This list has given me so much, I'm just glad I could help out someone else.
Got any chocolate or firearms in that closet?
!//--
andy
Remember our class that provides this looks like this
class Order ActiveRecord::Base
end
I could also do this
Order.find_by_state(Virginia)
Note that I'm not adding that method to the code. It just gets figured
out. I can do this too
Order.find_by_state_and_firstname(Virginia,Bob)
And now it's time for Deep Thoughts with Jack Handy:
I think a good gift for the President would be a chocolate revolver.
And since he's so busy, you'd probably have to run up to him real
quick and hand it to him.
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL
The method IS defined, but in the background is what I guess he means. That
does sound pretty cool.
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: Bryan Stevenson [mailto:[EMAIL
:)
Andy Matthews wrote:
And now it's time for Deep Thoughts with Jack Handy:
I think a good gift for the President would be a chocolate revolver.
And since he's so busy, you'd probably have to run up to him real
quick and hand it to him.
!//--
andy matthews
web
I think that bites more people than not in regards to optimization.
On 4/20/06, Claude Schneegans [EMAIL PROTECTED] wrote:
There are many other places to look for optimization, the first being
queries and correct indexes in the database.
Asking your question of my javascipt list, the responses were as follows:
Repsonse 1
Have you tried this?
objA.onclick = new Function (alert( + intI + ) );
Response 2
for (var intI = 0 ; intI 10 ; intI++){
var objA = document.createElement( div );
Place one var objA; before the
Gotcha, I just saw a couple other posts that got separated into another
thread that explained that. I'll try it again in a few.
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Thursday, April
Hi Ben,
I ran into this problem recently - these really helped me out:
http://joust.kano.net/weblog/archive/2005/08/08/a-huge-gotcha-with-javascript-closures
and
http://jibbering.com/faq/faq_notes/closures.html
/t
~|
How do you do that?
-Original Message-
From: Qasim Rasheed [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 6:40 PM
Well I have been using JDBC Statement call from CF and it
will return you
number of records effected for updated, inserts or deletes.
-
In this issue of ColdFusion conference and training news:
* Order a DVD copy of CFUNITED 2005 recordings and materials/laptop bag
* Adobe Press offers attendees 35% off a selection of books!
* Win a FREE extravagant lunch with your favorite speaker!
* Fusetalk Forum on CFUNITED! Talk to other
Cutter,
I like this suggestion:
objA.currentI = intI;
objA.onclick = function(){ alert( this.currentI ); };
This is actually how I deal with this same problem in Flash Action Script
sometimes. However, in Flash I do it on objects, and in JS it always makes
me nervous to try adding data to an
TanGuy,
Thanks, I think that first link helped a lot. I see what the guy is saying
(and I forgot that var's all get moved up to the highest scope - its sad
that I used to aide a web-dev class).
So now, I have something that works in terms of passing around variables
that make sense:
!DOCTYPE
Jacob,
Here is an example implementation for Oracle. You can definitely modify it
for any other database.
cfscript
//connection url
connURL = jdbc:macromedia:oracle://..;
jclass = createobject('java','java.lang.Class');
jclass.forName('macromedia.jdbc.oracle.OracleDriver');
On 4/18/06, Mike Klostermeyer [EMAIL PROTECTED] wrote:
I wouldn't say that. Sometimes it is helpful to know how many records were
updated or deleted without having to do a select query beforehand. Is there
a Java service factory way of getting at this information?
CF7 has a result attribute
Sam,
AFAIK the result attribute doesn't return records affected from
insert/delete/updates. Please correct me if I am wrong.
Thanks
Qasim
On 4/20/06, Sam Farmer [EMAIL PROTECTED] wrote:
On 4/18/06, Mike Klostermeyer [EMAIL PROTECTED] wrote:
I wouldn't say that. Sometimes it is helpful to
AFAIK the result attribute doesn't return records affected from
insert/delete/updates. Please correct me if I am wrong.
You are right, I just tried it and it says recordcount: 0, and the
only other data returned is cached, executiontime, and sql code.
---
This transmission may
I got this working for MS SQL, here's the code:
cfscript
//connection url
connURL = jdbc:macromedia:sqlserver://server:1433;
jclass = createobject('java','java.lang.Class');
jclass.forName('macromedia.jdbc.sqlserver.SQLServerDriver');
driverManager = CreateObject('java',
On 4/20/06, Michael Smith [EMAIL PROTECTED] wrote:
* Order a DVD copy of CFUNITED 2005 recordings and materials/laptop bag
Can't believe I didnt' see this earlier, aka when it was still 2005. At this
point, I would probably wait until the 2006 disc comes out. Will there be
video recordings
I think they just recently released it, if I remember right.
-Original Message-
From: Nathan Strutz [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 1:56 PM
On 4/20/06, Michael Smith [EMAIL PROTECTED] wrote:
* Order a DVD copy of CFUNITED 2005 recordings and
Anyone know if there is a surefire way to make all downloaded files
read-only? We have a client that wants to have files available to
download, but the original author doesn't want to have them be able to
be edited. We're talking PowerPoint, Word, PDF files here, BTW.
Any advice on how to
Once a client downloads the file, they can easily change the attributes
of the file
From read-only to Normal and modify them anyway.
Just can not do that on the files on the server.
But to answer your question, sorry I do not know a way other than making
them all
PDF files however there are
Um, no.
And even if you could force a downloaded file to be read-only, they
are still easily edited, by changing the file properties or saving it
as another name.
Unless you can force the users to buy and install DRM software (and
use it), you are out of luck.
On 4/20/06, Ray Champagne [EMAIL
I don't think you can unless you use the embedded features to protect
the documents. However, as with all items, anytime there's security
there's usually some way around it. Setting the file Read only
attribute would not really do much if someone knew how to turn it off,
or they could just save it
That's not possible for most files.
PDF does have the option of password protecting files to provide varying
levels of access, I suspect that Powerpoint might offer the same thing. For
most files, though, once the user has it they can do anything they want with
it.
!//--
andy
Isn't there a way to password lock a PDF file where it can still be viewed
but not exported into something else? No matter what though there will
always be a way around anything done just depends on how motivated someone
is.
On 4/20/06, Adkins, Randy [EMAIL PROTECTED] wrote:
But to answer
Thanks Randy:
FYI, just for future knowledge, we found that even if you change the
attributes to Read Only on the server copy, it gets changed to
Normal once downloaded. One doesn't even have to touch the attributes
to get it back to normal. Seems a little silly to even have that option
if
Anyone know if there is a surefire way to make all downloaded files read-only?
Surefire --- no, but more difficult yes. Both word and PDF have internal
locking capabilities that should get you what you want. I'm sure they are not
perfect, but should prevent all but the most dedicated hacker
For Word, are you talking about the Read Only attribute?
Ian Skinner wrote:
Anyone know if there is a surefire way to make all downloaded files read-only?
Surefire --- no, but more difficult yes. Both word and PDF have internal
locking capabilities that should get you what you want. I'm
Anyone know if there is a surefire way to make all downloaded files
read-only?
You could convert everything to image files. Of course that would still
only slow them down, and bloat the download size. But at least they
couldn't copy and past or Save As another type.
Some good OCR software might
We are using MS SQL 2000.
I do some of the math in the db.
I am very weak with rollup, so maybe you can see what I am missing.
Example:
Project:
Task1
--Task1.1
--Task1.2 -- Has hours
--Task1.2.1
--Task1.2.2 -- Has hours
--Task1.2.3
--Task1.3
Task2
Task3---Has hours
The rollup can get me the
From a quick glance at Word's help.
Protect a document from unauthorized changes
OPTION ONE
Seal your document with a digital certificate
You digitally sign a file or a macro project by using a digital certificate.
If you don't already have a digital certificate, you must obtain one.
How?
For Word, are you talking about the Read Only attribute?
I'm not sure. I am not talking about the file system Read Only, but an
internal Word feature, something like Protect Document. That can be set with
a password. So only those who know the password can modify the document.
I know that
Well maybe that doesn't do much for word. It will prevent someone from
changing the original file, but one can save as to a new file at will.
So you might be left with coverting everything to PDF which has somewhat more
extensive internal protections.
--
Ian Skinner
Web Programmer
I'm essentially creating a glorified import process to join data from two of
our systems and I'm seeing some strange things from CF/SQL Server 2000.
It's fairly simple - I'm looping over one query and inserting data into a
second database, calling private functions within the same CFC to retrieve
Paul,
I ran into this same issue the other day. It seems that ColdFusion is
adding line breaks before the value returned by your function, which
generates an error on your DB. So calling the function from within
cfquery would result in the following SQL being sent to the DB.
INSERT INTO
Well it must be true, misery does love company. It's comforting I'm not the
only one!
Incidentally I suspected it might be something about the value returned by
the function so I added output=false to the function definition but it was
of no consequence - same funky error.
I'll be interested to
If you are using CFFUNCTION, are you also using OUTPUT=NO?
If this is a CFSCRIPT-type function, just trim the return value.
M!ke
-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 5:19 PM
To: CF-Talk
Subject: RE: cfc/sql strange behavior
Well it
Isn't there a way to password lock a PDF file where it can
still be viewed but not exported into something else? No
matter what though there will always be a way around anything
done just depends on how motivated someone is.
Yes, you can apply granular controls to limit what someone can
Thanks will give it a try. And yes, we do have a dedicated smtp server.
Charles
On 4/20/06 4:05 AM, Russ Michaels [EMAIL PROTECTED] wrote:
if you generate the content files and save them as static files, you can
just cfinclude them into your cfmail then you won't need to evaluate them.
97 matches
Mail list logo