RE: Studio 8 announced

2005-08-09 Thread Venable, John
  -Original Message-
  From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED]
  
  Actually I believe the license did allow for two installations of 
  Studio, as long as both installations were not running 
  simultaneously, just for your type of situation.
 
 From: Damien McKenna [mailto:[EMAIL PROTECTED]
 Actually there's an added limitation: you can only use the license on 
 Windows machines *or* on a Mac, so if you have a PC at work and a Mac 
 at home you need two licenses!
 

Exactly the situation I'm in. Seems like $2000 to be crossplatform is
nutty. Surely with the proliferation of Macs at MACR this can be
remedied?

John

This e-mail, including attachments, is intended for the exclusive use of
the person or entity to which it is addressed and may contain
confidential or privileged information.  If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the reader is
hereby notified that any dissemination, distribution or copying of this
e-mail is prohibited.  If you think that you have received this e-mail
in error, please advise the sender by reply e-mail and then delete this
e-mail immediately.

Thank you.  Epilepsy Foundation

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214248
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Homesite+ Flippin out

2005-06-16 Thread Venable, John
I'm running into a problem with Homesite+ 5.5 that I've had before and
it's really driving me crazy. I go to the file pane and try to open the
My Documents folder and it opens the dialog and proceeds to jump to ~95%
CPU and stays there for several minutes before finally letting me choose
a file. Anyone else ever hear of this??

Thanks

john

This e-mail, including attachments, is intended for the exclusive use of
the person or entity to which it is addressed and may contain
confidential or privileged information.  If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the reader is
hereby notified that any dissemination, distribution or copying of this
e-mail is prohibited.  If you think that you have received this e-mail
in error, please advise the sender by reply e-mail and then delete this
e-mail immediately.

Thank you.  Epilepsy Foundation

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209677
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Homesite+ Flippin out

2005-06-16 Thread Venable, John
Same here. I also checked for orphaned shortcuts, had none. The title
field in my viewer is greyed out, so I couldn't turn that on if I
wanted. So I rebooted and it seems ok now. Like I said, I've had this
before and it cleared up mysteriously, so it seems to be gone for now,
but man is it annoying when it happens.

John 

 -Original Message-
 From: Ray Champagne [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 16, 2005 1:24 PM
 To: CF-Talk
 Subject: Re: Homesite+ Flippin out
 
 Thanks.  I checked, and it is already off, but that is good to know.  
 A reboot of my machine helped dramatically.
 
 Jerry Johnson wrote:
  Try turning off the title field in the file window. This
 can really
  slow down the file listing pane.
  
  On 6/16/05, Ray Champagne [EMAIL PROTECTED] wrote:
  
 When did you update?  I did yesterday, and today everything I am 
 working with seems slow as death.  Homesite is now acting like DWMX 
 did before I decided I couldn't work with it anymore and
 made the switch.
 
 If it is Windows Updater that did it, then I am pissed.
 
 To quote Stewey Griffin, loosely:
 
 Microsoft, for every Windows update that doesn't work properly, I 
 shall kill you!
 
 Claremont, Timothy wrote:
 
 I have the same problem recently. My only observation so
 far is that
 the timing seems coincidental with a Windows update
 applied by the IT
 department. Unfortunately they don't tell us what they are
 patching
 and why, so I can't elaborate.
 
 I have resorted to navigating to the file I want in
 Windows Explorer
 and double clicking on it to edit
 
 
 Subject: Homesite+ Flippin out
 From: Venable, John [EMAIL PROTECTED]
 Date: Thu, 16 Jun 2005 11:17:24 -0400
 Thread:
 http://www.houseoffusion.com/cf_lists/index.cfm/method=mess
 agesthrea
 did
 =40740forumid=4#209677
 
 I'm running into a problem with Homesite+ 5.5 that I've had before 
 and it's really driving me crazy. I go to the file pane and try to 
 open the My Documents folder and it opens the dialog and
 proceeds to
 jump to ~95% CPU and stays there for several minutes
 before finally
 letting me choose a file. Anyone else ever hear of this??
 
 Thanks
 
 john


This e-mail, including attachments, is intended for the exclusive use of
the person or entity to which it is addressed and may contain
confidential or privileged information.  If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the reader is
hereby notified that any dissemination, distribution or copying of this
e-mail is prohibited.  If you think that you have received this e-mail
in error, please advise the sender by reply e-mail and then delete this
e-mail immediately.

Thank you.  Epilepsy Foundation

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209715
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Entrez/Pubmed Searches

2005-05-05 Thread Venable, John
Figured I'd ask before I jumped into it. Has anyone done any Pubmed
searches with CF using the National Library of Medicine's Entrez tools,
and if so would you like to share? :-)

Thanks,

John Venable

This e-mail, including attachments, is intended for the exclusive use of
the person or entity to which it is addressed and may contain
confidential or privileged information.  If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the reader is
hereby notified that any dissemination, distribution or copying of this
e-mail is prohibited.  If you think that you have received this e-mail
in error, please advise the sender by reply e-mail and then delete this
e-mail immediately.

Thank you.  Epilepsy Foundation

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205743
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFTREEITEM problem

2005-03-14 Thread Venable, John
Hello, I'm trying to use the CFTREE to populate another frame with data
based on the id of the node selected. Here is my code:

cftreeitem value=datefmt,RequestID
display=datefmt,timefmt
img=folder,document
imgopen=folder,document
href=,dsp_requestForm.cfm
target=main
query=inquiries
queryasroot=No
expand=Yes

The tree is basically the date, with inquiries below that with the time
as the label.

The problem I'm having is I cannot get the child nodes (the actual
inquiries) to link to the form. The folders which shouldn't have an ID
anyway are linked, but not the children. I know it's probably something
simple, can someone tell me what am I doing wrong?

John Venable

This e-mail, including attachments, is intended for the exclusive use of
the person or entity to which it is addressed and may contain
confidential or privileged information.  If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the reader is
hereby notified that any dissemination, distribution or copying of this
e-mail is prohibited.  If you think that you have received this e-mail
in error, please advise the sender by reply e-mail and then delete this
e-mail immediately.

Thank you.  Epilepsy Foundation

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198700
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: XML Error (Related to US Weather from NWS)

2005-01-06 Thread Venable, John
Thanks so much Sean, worked perfectly!

John 

 -Original Message-
 From: Sean Corfield [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 06, 2005 1:28 AM
 To: CF-Talk
 Subject: Re: XML Error (Related to US Weather from NWS)
 
 On Wed, 5 Jan 2005 21:18:15 -0500, Venable, John [EMAIL PROTECTED] 
 wrote:
  #xmlContent.wx_station_index.station[i].xml_url.xmltext#
 
 Change this to:
 
#xmlContent.wx_station_index.station[i].xmlchildren[8].xmltext#
 
 The fact that the subkey begins with 'xml' causes CF to treat it 
 specially and thus it fails.
 
 I'll log a bug.
 --
 Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- 
 http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme

 Got Gmail? -- I have 5 invites to give away!
 
 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood


This e-mail, including attachments, is intended for the exclusive use of
the person or entity to which it is addressed and may contain
confidential or privileged information.  If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the reader is
hereby notified that any dissemination, distribution or copying of this
e-mail is prohibited.  If you think that you have received this e-mail
in error, please advise the sender by reply e-mail and then delete this
e-mail immediately.

Thank you.  Epilepsy Foundation


~|
Sams Teach Yourself Regular Expressions in 10 Minutes  by Ben Forta 
http://www.houseoffusion.com/banners/view.cfm?bannerid=40

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189533
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF Allows Negative Zero?

2005-01-05 Thread Venable, John
Negative zero, while being an odd notation, is still a number, as would
be -1, -2, -3, etc. I would be frightened if a negative number didn't
pass the IsNumeric function. You shouldn't get an error trying to
calculate with -0 (with the obvious exception of trying to divide by
it)? If you need only positive values you could use abs().

John



 -Original Message-
 From: Dawson, Michael [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 05, 2005 11:45 AM
 To: CF-Talk
 Subject: CF Allows Negative Zero?
 
 If you enter a negative zero (-0), CF keeps it as is and does not 
 strip the negative sign.
 
 I would assume that is because CF may think this is a string, however,

 it passes the IsNumeric() function.
 
 Should I just use the val() in my setter when I expect a numeric value

 to be passed?
 
 Thanks
 M!ke


This e-mail, including attachments, is intended for the exclusive use of
the person or entity to which it is addressed and may contain
confidential or privileged information.  If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the reader is
hereby notified that any dissemination, distribution or copying of this
e-mail is prohibited.  If you think that you have received this e-mail
in error, please advise the sender by reply e-mail and then delete this
e-mail immediately.

Thank you.  Epilepsy Foundation


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189409
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


XML Error (Related to US Weather from NWS)

2005-01-05 Thread Venable, John
Being an ex-Air Force weather guy, I've enjoyed this thread a great deal. I am 
trying to parse the list of reporting stations as provided here: 
http://www.nws.noaa.gov/data/current_obs/index.xml

here is the code i'm using:
cffile action=READ file=c:\testsite\WX_Stations.xml variable=wxlocales
cfset xmlContent = XMLParse(Trim(wxlocales))
cfoutput
cfloop from=1 to=100 index=i
#xmlContent.wx_station_index.station[i].station_id.xmltext#br
#xmlContent.wx_station_index.station[i].state.xmltext#br
#xmlContent.wx_station_index.station[i].station_name.xmltext#br
#xmlContent.wx_station_index.station[i].latitude.xmltext#br
#xmlContent.wx_station_index.station[i].longitude.xmltext#br
#xmlContent.wx_station_index.station[i].xml_url.xmltext#
/cfloop
/cfoutput

It works very well except for the very last element xml_url if include that, I 
get this error:

Element XML_URL.XMLTEXT is undefined in a Java object of type class 
coldfusion.xml.XmlNodeMap referenced as

When I dump the XML it shows that xml_url does indeed have an xmltext value as 
seen below.
xml_url |  XmlText  http://weather.gov/data/current_obs/KAKO.xml

Anyway, can anyone see what I'm doing wrong? I'm new at XML and have tried 
everything I know to look for.

Thanks

John Venable


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189469
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


JRUN Login

2004-12-03 Thread Venable, John
Hello, I'm new to the world of CFMX on J2EE. I just installed CFMX on
JRun on my computer, and I want to login to the JRun Admin. It asks for
a username and password. CFMX however only asks you to set a password. I
used Administrator and the password I entered for the CFMX install. No
dice. Tried Admin/same password, still nothing. What am I missing
here? Any suggestions?

Thanks,
John Venable



This e-mail, including attachments, is intended for the exclusive use of
the person or entity to which it is addressed and may contain
confidential or privileged information.  If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the reader is
hereby notified that any dissemination, distribution or copying of this
e-mail is prohibited.  If you think that you have received this e-mail
in error, please advise the sender by reply e-mail and then delete this
e-mail immediately.

Thank you.  Epilepsy Foundation


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186147
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: JRUN Login

2004-12-03 Thread Venable, John
Thanks, that did it. Twas a case-sensitivity issue.

John 

 -Original Message-
 From: Adrocknaphobia [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 03, 2004 2:38 PM
 To: CF-Talk
 Subject: Re: JRUN Login
 
 You can find out the password in the following XML file.
 
 JRun-Install Dir\servers\admin\SERVER-INF\jrun-users.xml
 
 -Adam
 
 
 On Fri, 3 Dec 2004 14:25:10 -0500, Venable, John [EMAIL PROTECTED] 
 wrote:
  Hello, I'm new to the world of CFMX on J2EE. I just
 installed CFMX on
  JRun on my computer, and I want to login to the JRun Admin. It asks 
  for a username and password. CFMX however only asks you to set a 
  password. I used Administrator and the password I entered for the 
  CFMX install. No dice. Tried Admin/same password, still nothing.
  What am I missing here? Any suggestions?
  
  Thanks,
  John Venable
  
  This e-mail, including attachments, is intended for the
 exclusive use
  of the person or entity to which it is addressed and may contain 
  confidential or privileged information.  If the reader of
 this e-mail
  is not the intended recipient or his or her authorized agent, the 
  reader is hereby notified that any dissemination, distribution or 
  copying of this e-mail is prohibited.  If you think that you have 
  received this e-mail in error, please advise the sender by reply 
  e-mail and then delete this e-mail immediately.
  
  Thank you.  Epilepsy Foundation
  
  
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186152
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Undeliverable CFMAIL

2004-11-09 Thread Venable, John
They will be in {cfroot}/Mail/Undelivr 

Just respool and you should be good to go.

---
John Venable
Director of Web Architecture
Epilepsy Foundation

 -Original Message-
 From: Richard Crawford [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 09, 2004 3:59 PM
 To: CF-Talk
 Subject: Undeliverable CFMAIL
 
 In about two weeks, our mail server will be going down for a couple of

 days.  Consequently, any messages sent by Cold Fusion during that time

 will not be delivered.
 
 Does the CF server maintain these undelivered messages anywhere?
 
 --
 Richard S. Crawford
 Programmer III: Oracle/Solaris Wrangler UC Davis Extension Distance 
 Education Group
 (http://unexdlc.ucdavis.edu)
 2901 K Street, Suite 200C
 Sacramento, CA  95816
 (916)327-7793
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183794
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


SOT: Dreamweaver Search and Replace

2004-08-26 Thread Venable, John
I'm simply trying to replace all instances on xxyyzz with a hard return. I have tried the search and replace with \n and \r but it just puts in those characters explicitly, this is Whether i have on 'Use Regular _expression_' or not. Can anyone tell me what I'm doing wrong?

 
Thanks

 
john venable

This e-mail, including attachments, is intended for the exclusive use of the person or entity to which it is addressed and may contain confidential or privileged information.If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited.If you think that you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.

Thank you.Epilepsy Foundation
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: SOT: Dreamweaver Search and Replace

2004-08-26 Thread Venable, John
I had tried that, I finally figured out you have to use control-return to have it see that you want a hard return.
Thanks Ben

 
John

-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:16 PM
To: CF-Talk
Subject: Re: SOT: Dreamweaver Search and Replace

Why not just put a hard return in the seach for box?

--Ben

Venable, John wrote:

 I'm simply trying to replace all instances on xxyyzz with a hard return. I have tried the search and replace with \n and \r but it just puts in those characters explicitly, this is Whether i have on 'Use Regular _expression_' or not. Can anyone tell me what I'm doing wrong?

 Thanks

 john venable

This e-mail, including attachments, is intended for the exclusive use of the person or entity to which it is addressed and may contain confidential or privileged information.If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited.If you think that you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.

Thank you.Epilepsy Foundation
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




SQL Help

2004-06-16 Thread Venable, John
Hey Folks,

 
 I've got a query that I'm trying to pull some aggregate data from and refer to it with array syntax. i.e. #queryname.field[i]#

 
One query I have isn't pulling all the values that I might encounter, thereby throwing the index off for any references thereafter. here's my query:

 
SELECT d.Disability, count(ed.DisabilityID) as Count
FROM Disabilities d LEFT OUTER JOIN EnrollmentsDisabilities ed
 ON d.DisabilityID = ed.DisabilityID JOIN Enrollments e
ON ed.ProfileID = e.ProfileID AND ed.EnrollmentNumber = e.EnrollmentNumber
WHERE e.EnrollmentDate BETWEEN '#fromDate#' AND '#toDate#'
GROUP BY Disability
ORDER BY Disability

EnrollmentsDisabilities is a join table for a many-to-many relationship with Enrollments and Disabilities

 
I want all the possible values of Disability even if the count is zero. I thought the 'LEFT OUTER JOIN' syntax would take care of that, but it's not working. What am I doing wrong?

 
Thanks much!

 
John

---
John Venable
Director of Web Architecture
Epilepsy Foundation
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: SQL Help

2004-06-16 Thread Venable, John
yeah yeah, the cfqueryparam, i pulled this from SQL Analyzer, it chokes for some reason on that... :-)

 
thanks, i'll check this out.

 
JOhn

-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 2:12 PM
To: CF-Talk
Subject: RE: SQL Help

You are filtering on the enrollment table. This makes the left outer
join useless.
Try doing :

WHERE e.EnrollmentDate BETWEEN '#fromDate#' AND '#toDate#'
ORe.EnrollmentDate IS NULL

And of course  (Guess what or look at some other threads right now)

 -Original Message-
 From: Venable, John [mailto:[EMAIL PROTECTED] 
 Sent: woensdag 16 juni 2004 18:25
 To: CF-Talk
 Subject: SQL Help
 
 Hey Folks,

I've got a query that I'm trying to pull some aggregate 
 data from and refer to it with array syntax. i.e. #queryname.field[i]#

 One query I have isn't pulling all the values that I might 
 encounter, thereby throwing the index off for any references 
 thereafter. here's my query:

 SELECT d.Disability, count(ed.DisabilityID) as Count FROM 
 Disabilities d LEFT OUTER JOIN EnrollmentsDisabilities ed
ON d.DisabilityID = ed.DisabilityID JOIN Enrollments e
ON ed.ProfileID = e.ProfileID AND ed.EnrollmentNumber 
 = e.EnrollmentNumber WHERE e.EnrollmentDate BETWEEN 
 '#fromDate#' AND '#toDate#'
 GROUP BY Disability
 ORDER BY Disability


 EnrollmentsDisabilities is a join table for a many-to-many 
 relationship with Enrollments and Disabilities

 I want all the possible values of Disability even if the 
 count is zero. I thought the 'LEFT OUTER JOIN' syntax would 
 take care of that, but it's not working. What am I doing wrong?

 Thanks much!

 John


 ---
 John Venable
 Director of Web Architecture
 Epilepsy Foundation 

 
 
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: SQL search query

2004-06-15 Thread Venable, John
AS others have said, you are definitely missing some sort of join mechanism such as:

 
cfquery name=Getpo datasource=purchaseorders
 SELECT * 
 FROM purchaseorders p JOIN itemsordered i
 ON p.SOMETHING=i.SOMETHING 
 Where 0=0
...
but also, unless those form fields are checkboxes, they will be defined upon form submission. I'm guessing here, but you probably want something along the lines of cffif len(trim(FORM.ponumber)).../cfif

 
Also, someone else suggested you pull out the 0=0 and pre-build the query, I personally do it the way you have it, but I think that's more a matter of style than actual value judgement. 

 
Other than that, I'd second what others have said, re: CFQUERYPARAM and also grab only what you need.

 
John

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 2:27 PM
To: CF-Talk
Subject: OT: SQL search query

I'm still new to SQL. I want to search two tables from a form. The search below does not give me any errors, but neither does it generate any hits even though I enter the correct items to look for. How do I edit the SQL to make it search info in both the purchaseorders and/or itemsordered tables? Thanks.

cfquery name=Getpo datasource=purchaseorders
SELECT * FROM purchaseorders p, itemsordered i
Where 0=0

CFIF IsDefined(FORM.ponumber) 
And ponumber LIKE '%#FORM.ponumber#%'
/CFIF

CFIF IsDefined(FORM.invoicenumber) 
And invoicenumber LIKE '%#FORM.invoicenumber#%'
/CFIF

CFIF IsDefined(FORM.vendor) 
And vendor LIKE '#trim(FORM.vendor)#'
/CFIF 

Order by p.cnumber DESC

Robert O.
¿ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SQL search query

2004-06-15 Thread Venable, John
Why can't you use cfqueryparam?

 
I found the original more readable as well.

 
Also, I'd triple and quadruple check to see if I could get rid of the LIKE operator. It's a process hog big time. LIKE for fields of this nature doesn't make sense to me, but I've got no clue what data you're dealing with :-)

 
John

-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 5:22 PM
To: CF-Talk
Subject: RE: SQL search query

Nonono: this way you can't use cfqueryparam. As for finding something
more readable, this is a matter of opinion. I like to have all the logic
in the cfquery itself. When I look at your code, I find it a lot more
complex than the code Robert had.

There is nothing wrong with using 0 = 0. It just allows you to have less
cfif's.

I totally agree on the join and the select * though.

Pascal

 -Original Message-
 From: [EMAIL PROTECTED] [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] 
 Sent: dinsdag 15 juni 2004 23:04
 To: CF-Talk
 Subject: Re: SQL search query
 
 Robert
 First off you need to get rid of the where 0=0 in the where 
 clause and use some logic to set how you really want your 
 where statement to look.
 I've found that the easier way to handle these is to do it 
 all in an cfif statement before the actual query.That way 
 you don't have to do all of the logic in the query.
I've found it more readable and easy to use.
 For example
 CFPARAM NAME= FORM.ponumber DEFAULT= CFPARAM 
 NAME=FORM.invoicenumber DEFAULT= CFPARAM 
 NAME=FORM.vendor DEFAULT= CFPARAM NAME=SearchAll DEFAULT=
 
 CFIF Form.ponnumber neq 
 CFSET Searchpon=Where ponumber like '%#Form.ponumber#%'
 CFIF FORM.invoicenumber neq 
 CFSET SearchInv=And invoicenumber LIKE'%#FORM.invoicenumber#%'
 /CFIF
 CFIF FORM.vendor neq 
 CFSET Searchven= And vendor LIKE '#trim(FORM.vendor)#'
 /CFIF
 CFSET SearchAll=#SearchPon##SearchInv##SearchVen#
 CFELSEIF Form.Ponnum is  and Form.Invoicenumber NEQ 
 CFSET SearchInv=WHERE invoicenumber 
 LIKE'%#FORM.invoicenumber#%'
 CFIF FORM.vendor neq 
 CFSET Searchven= And vendor LIKE '#trim(FORM.vendor)#'
 /CFIF
 CFSET SearchAll=#SearchInv##SearchVen#
 CFELSEIF Form.Ponnum is  and Form.Invoicenumber is  and 
 Form.vendor NEQ 
 CFSET SearchVendor= Where vendor LIKE '#trim(FORM.vendor)#'
 CFSET SearchAll=#SearchVendor#
 /CFIF
 
 CFQUERY NAME=Getpo datasource=purchaseordersSELECT * 
 FROM purchaseorders p, itemsordered I inner join 
 p.CommonID=i.CommonID #SearchAll#
 
 You also need to connect the tables in your from clause.
 Your current from would list out a record for each record 
 from both tables. (ie:if you have 10 in the I table and 7 in 
 table P you'd have 70 records that show). I added an inner 
 join, just add whatever id hooks the 2 tables.
 I hope that you did a select * just for the example here and 
 that you are not using it for the actual query.You should 
 only select what you really need. The * is going to pull 
 every single field from both tables- do you really need/want 
 all that info. (and do you want your database chugging away 
 on all that unwanted stuff?) Hope this gets you started.
 J
 
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFX_JSpellCheck CFMX in a J2EE Configuration

2004-06-08 Thread Venable, John
I had this same problem, at least in my instance it was a case-sensitivity issue. The CFX must be capitalized in the CFX reg page.

 
Tag Name: CFX_JSpellCheck
Class Name: CFX_JSpellCheck

 
John

-Original Message-
From: Adkins, Randy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 11:51 AM
To: CF-Talk
Subject: RE: CFX_JSpellCheck  CFMX in a J2EE Configuration

Dave,

I have the CFX Tag registered within the CF Admin.
That's the problem.. still not locating it..

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 08, 2004 11:39 AM
To: CF-Talk
Subject: RE: CFX_JSpellCheck  CFMX in a J2EE Configuration

 Ok I found some documentation on Macromedia on how to load 
 the class path into the JMC. I did set it to:
 
 C:\\CFusion\\CFX_Tags\\CFX_JSpellCheck\\CFX_JSpellCheck.jar
 
 Then I stopped all JRun services (servers), had to modify the 
 jvm.config based on the TechNote on Macromedia:
 
 http://www.macromedia.com/support/coldfusion/ts/documents/serv
 er_jvm_arg.htm
 
 (watch the WRAP)
 
 Made the change and restarted all JRun services, but I still 
 get the following:
 
 Error processing CFX custom tag quot;CFX_JSpellCheckquot;.
 The CFX custom tag CFX_JSpellCheck was not found in the 
 custom tag database. Please be sure to add custom tags to the 
 database before using them. If you have added your tag to the 
 database then you should check the spelling of the tag within 
 your template to insure that it matches the database entry 

I'm pretty sure you'll still have to enter the CFX tag in the CF
Administrator, in addition to putting the JAR in the classpath.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444 
_ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Saving CF Admin settings

2004-04-12 Thread Venable, John
I have to rebuild a CF Development box, but I was wondering if there was a way to backup and restore all my CF admin settings. I know all that stuff is in XML files but can I install CF and then drop my old XML file(s) into the new install and have all my old settings?

Thanks

john Venable
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Venable, John
Is this still true? I was inder the impression that since CFMX compiles everything beforehand the performance gains that you used to get with CFSCRIPT are no longer there. Am I wrong about that?

 
John Venable

-Original Message-
From: Tom Kitta [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 2:07 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Hmmm, it looks like there are going to be a lot of 'shortest path' algorithm
implementations. I guess to win on speed it should be written in cfscript as
much as possible.

TK
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 2:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Just go to the link Kaz posted earlier and take his code :-)

 oops. I forgot to send in my entry last time.Where are the
 rules so that I can make sure it conforms?
 DRE 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Populating PDF Fields w/ ActivePDF

2004-03-22 Thread Venable, John
Hello,

 I'm trying to populate a pre-existing PDF form using the ActivePDF Toolkit. I'm having no luck, all i get is a zero-length PDF file. Anyone have any example code they could share? It's a very simple form I'm trying to populate, I didn't think it would be this difficult.

thanks

John Venable
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Application Modeling/Design/Diagramming

2003-12-08 Thread Venable, John
Hello everyone, 

	I wanted to get some idea of what everyone uses to layout an application prior to building it. I'm trying to improve my skills and this is probably the biggest hurdle for me now--how to plan everything out beforehand rather than just jumping in and coding until I get myself into a corner that could've been avoided with better pre-planning. So, anyone have any advice, commentary, tools, books, web sites, general resources to point me in the right direction?

Thanks much

John Venable
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Application Modeling/Design/Diagramming

2003-12-08 Thread Venable, John
I have Visio Pro (same thing?) and have been trying to learn it more, but there's a bunch of different types of digrams under software, which one do you use? I know a bit about UML and modelling objects, I guess I'm just not sure how to apply that to CF apps (other than the CFC parts).

 
John

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 3:52 PM
To: CF-Talk
Subject: RE: Application Modeling/Design/Diagramming

I use VISIO Enterprise Architect but that's mostly because I do .NET and CF
and the .NET is so easy in VISIO. CF is pretty easy as well using VISIO. It
also supports UML and other things that I need.

Steve

-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2003 3:40 PM
To: CF-Talk
Subject: Application Modeling/Design/Diagramming

Hello everyone, 

I wanted to get some idea of what everyone uses to layout an application
prior to building it. I'm trying to improve my skills and this is probably
the biggest hurdle for me now--how to plan everything out beforehand rather
than just jumping in and coding until I get myself into a corner that
could've been avoided with better pre-planning. So, anyone have any advice,
commentary, tools, books, web sites, general resources to point me in the
right direction?

Thanks much

John Venable
_ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Simple question...

2003-12-08 Thread Venable, John
cfif len(trim(cgi.query_string))
 cfdump var=#url#
/cfif

I think that's it.

 
John Venable

-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 4:12 PM
To: CF-Talk
Subject: Simple question...

In CF5, how would I write:

IF there is any variable in the URL scope present...
then cfdump the entire URL scope.

I know you can use isdefined(FORM.FIELDNAMES) for form vars...
but what is the magic phrase for all url vars???

Thanks, Che 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Simple question...

2003-12-08 Thread Venable, John
That's true, but he's using cfdump, not sure he wanted to use them at all :-)

 
John

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 4:38 PM
To: CF-Talk
Subject: Re: Simple question...

Beware dumping the URL scope...rememberyou may have set other vars in the URL scope (for whatever reason) before dumping the URL scope.If you're after the passed params to the page CGI.QUERY_STRING as I first mentioned...be accurate ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
- Original Message - 
From: Venable, John 
To: CF-Talk 
Sent: Monday, December 08, 2003 1:22 PM
Subject: RE: Simple question...

cfif len(trim(cgi.query_string))
cfdump var=#url#
/cfif

I think that's it.

John Venable

-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 4:12 PM
To: CF-Talk
Subject: Simple question...

In CF5, how would I write:

IF there is any variable in the URL scope present...
then cfdump the entire URL scope.

I know you can use isdefined(FORM.FIELDNAMES) for form vars...
but what is the magic phrase for all url vars???

Thanks, Che 
 _ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Safari Issues

2003-11-25 Thread Venable, John
I've had some cookie problems where it tells me cookies aren't enabled, even though they are. If I clear the cookies, it works fine. Haven't figured out if you can up the amount of cookie storage yet.

 
John Venable

-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 1:05 PM
To: CF-Talk
Subject: Safari Issues

Has anyone had any problems with their sites from users that are using the
Safari browser? I am getting several errors a day from Safari users, but
when I try to duplicate them with a powerbook I have access to, I cannot get
them to occur. Is there anything different about that browser than IE and
Netscape?

Thanks,

Bruce

_


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Resize Image ?

2003-11-25 Thread Venable, John
Not that this would necessarily help, but doesn't .png work too??

 
John Venable

-Original Message-
From: Adam Wayne Lehman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 4:23 PM
To: CF-Talk
Subject: RE: Resize Image ?

John is right. Only non-progressive JPGs in Flash.

Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division

-Original Message-
From: John Burns [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2003 3:49 PM
To: CF-Talk
Subject: RE: Resize Image ?

Can you load .gif files into flash?I thought it was just JPEG?

John

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2003 3:33 PM
To: CF-Talk
Subject: RE: Resize Image ?

ok screw it, do it in flash with a coldfusion back end like my gfs site
http://www.4best-friends.com/ go to photo page, actually that was easier
to do with flash  cfm then it is doing it in just cfm

 if you give them correct porportions they shouldnt
 heres a simple one i did http://www.theholegang.com/
 other than ppl uploading diffent sized images its ok
 well at least to me, but im blonde too





 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 25, 2003 2:02 PM
 To: CF-Talk
 Subject: Re: Resize Image ?

 its simple, just make your image place holder the size u want the
 image to be, i do that instead of thumbnails all the time ;)



 Hey guys,

 Is there a way to resize an image to be smaller with out it loosing
 quality and becoming jagged? Meaning if I have an image that is
 120x120px and I want to resize it to 100x100px without loading two
 different images. Does this make sense...

 I want to use just one image but I need to show it into two places
 one being a little smaller.

 Thanks,
 - Neal Bailey



_



 

_

_

_


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Ghost variables

2003-11-12 Thread Venable, John
Hello All,

	I have a very troubling issue with an application I wrote. I have a
tabbed interface to a job tracking application. When a user selects the
profile that they want to view or edit, I throw that profileID (pid) into
the session scope, then I duplicate the session scope into the request scope
for 'general' use so I don't have to worry about locking. Here's the code:

	cflock timeout=10 throwontimeout=no type=exclusive
scope=session
	cfset Session.pid = form.pid
	cfset Request.Ses = Duplicate(Session)
	/cflock

Now I have a user that says that he chooses a profile say profile 150, the
profile page displays correctly, but when he clicks on another tab, I have
one for enrollments, he will get the information for another profile, say
200. All I am doing on the enrollment page is a few queries with the where
clause: WHERE ProfileID = cfqueryparam value=#request.ses.pid#
cfsqltype=CF_SQL_SMALLINT

I cannot replicate his problem. It seems like it might be browser cahce
related, since the URL of the page remains the same and only the request
variable will be different. Does this make sense? How can I fix it?

Thanks

John Venable

---
John Venable
Director of Web Architecture
Epilepsy Foundation 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




JVM settings the hard way

2003-11-05 Thread Venable, John
Anyone know where the setting for JVM path is in either the registry or an
.xml settings file? I killed my server trying to make it use the Sun JVM,
now I can't get it back.

 
Thanks

 
John Venable

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




sharing client variables datasources among servers

2003-11-03 Thread Venable, John
This might be a stupid question, but can two different CF servers share a
client variables datasource?

Thanks

John Venable
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: sharing client variables datasources among servers

2003-11-03 Thread Venable, John
yeah this is the situation I'm in, just as soon not have two databases to
worry about. Thanks everyone.

 
John

-Original Message-
From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 4:39 PM
To: CF-Talk
Subject: RE: sharing client variables datasources among servers

Yes you can.

In my environment I have my local computer for quick development and a
common dev server, they both point to the exact same dev MSSql server.
Works Great!

Steve

-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 4:20 PM
To: CF-Talk
Subject: sharing client variables datasources among servers

This might be a stupid question, but can two different CF servers share a
client variables datasource?

Thanks

John Venable 
_

_


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




MX Admin-Runtime Log Errors

2003-10-30 Thread Venable, John
Hello,

	I upgraded our production server to CFMX from CF5 last friday. After
some initial hiccups, things seemed to settle down and I was impressed by
the speed. I have one concern though, in the CFusionMX\runtime\logs\
directory, my default-err log has a ton of errors--it's 16MB in just a week.
Now the server seems to be responsive, the standard CF Logs aren't showing
anything out of the ordinary, but these errors just keep coming. I've
included a few of the errors below, and the entire log file seems full of
similar errors. (sorry for the length, wasn't sure what would help
troublehsooting this) Any idea where to look to fix these errors? Thanks

john

---
John Venable
Director of Web Architecture
Epilepsy Foundation 

10/30 13:36:58 error Connection reset
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:168)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
	at jrun.servlet.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.java:530)
	at jrun.servlet.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.java:522)
	at jrun.servlet.jrpp.ProxyEndpoint.readInt(ProxyEndpoint.java:540)
	at
jrun.servlet.jrpp.ProxyEndpoint.readRequest(ProxyEndpoint.java:229)
	at
jrun.servlet.jrpp.JRunProxyService.swapRunnable(JRunProxyService.java:144)
	at
jrunx.scheduler.ThreadPool$DownstreamMetrics.swapRunnable(ThreadPool.java:32
0)
	at
jrunx.scheduler.ThreadPool$ThreadThrottle.swapRunnable(ThreadPool.java:433)
	at
jrunx.scheduler.ThreadPool$UpstreamMetrics.swapRunnable(ThreadPool.java:280)
	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:76)

10/30 13:17:28 error Error while reading header S_DATE_TIME
java.net.SocketException: Connection reset by peer: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
	at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
	at jrun.servlet.jrpp.ProxyEndpoint.getHeader(ProxyEndpoint.java:694)
	at
javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWra
pper.java:124)
	at
javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWra
pper.java:124)
	at coldfusion.runtime.CgiScope.resolve(CgiScope.java:123)
	at coldfusion.runtime.CgiScope.containsName(CgiScope.java:265)
	at coldfusion.runtime.CgiScope.search(CgiScope.java:298)
	at
coldfusion.runtime.NeoPageContext.searchScopes(NeoPageContext.java:540)
	at
coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:465)
	at coldfusion.runtime.PageScope.resolveName(PageScope.java:51)
	at coldfusion.runtime.Scope.put(Scope.java:63)
	at coldfusion.runtime.CfJspPage._arrayset(CfJspPage.java:601)
	at
coldfusion.runtime.NeoPageContext.SymTab_setSplitNameInMap(NeoPageContext.ja
va:1081)
	at
coldfusion.runtime.NeoPageContext.SymTab_setValidatedSplitNameInString(NeoPa
geContext.java:1051)
	at
coldfusion.runtime.NeoPageContext.SymTab_setValidatedDottedName(NeoPageConte
xt.java:1127)
	at
coldfusion.runtime.NeoPageContext.setValidatedAttribute(NeoPageContext.java:
408)
	at
coldfusion.runtime.NeoPageContext.setAttribute(NeoPageContext.java:276)
	at coldfusion.runtime.CfJspPage._set(CfJspPage.java:229)
	at
cfsavecontent2ecfm1186756816.runPage(C:\CFusionMX\wwwroot\WEB-INF\cftags\sav
econtent.cfm:11)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
	at
coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:
60)
	at coldfusion.tagext.lang.ModuleTag.doAfterBody(ModuleTag.java:334)
	at
cfexception_en2exml1987932571.runPage(C:\CFusionMX\wwwroot\WEB-INF\exception
\exception_en.xml:33)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
	at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1871)
	at
cfdetail2ecfm1487115729.runPage(C:\CFusionMX\wwwroot\WEB-INF\exception\detai
l.cfm:33)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
	at
coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:
60)
	at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:256)
	at
cfTemplateException2ecfm755365794.runPage(C:\CFusionMX\wwwroot\WEB-INF\excep
tion\coldfusion\runtime\TemplateException.cfm:2)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
	at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
	at
coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:30)
	at
coldfusion.filter.ExceptionFilter.runBuiltInHandler(ExceptionFilter.java:462
)
	at
coldfusion.filter.ExceptionFilter.handleException(ExceptionFilter.java:263)
	at 

RE: trimming question

2003-09-25 Thread Venable, John
Ditto here, I'm supposed be in archive only mode.

John

-Original Message-
From: Shane Johnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 12:47 PM
To: CF-Talk
Subject: RE: trimming question


Same here, I unregistered a long time ago.

-Original Message-
From: Kunal Pewekar [mailto:[EMAIL PROTECTED] 
Sent: September 25, 2003 9:49 AM
To: CF-Talk
Subject: Re: trimming question

errrhow did i suddenly start getting these email again ? im sure i 
unregistered long back. and infact stopped getting the email until 1 hour 
back.

any changes made on the server side or soemthing ?



Original Message Follows
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Re: trimming question
Date: Thu, 25 Sep 2003 10:40:33 -0600 (MDT)

yes, exactly






  At 23:57 24/09/2003 -0600, you wrote:
 what would be the proper way to trim this up?
 
 cfset Dealer = #ReReplace(form.Dealer,[^]*,,ALL)#
 
  Trim in what sense? Looks like a fairly sound regex to strip markup
  tags.  Are you wanting to control whitespace as well?
 
  Gyrus
  [EMAIL PROTECTED]
  http://norlonto.net/gyrus/dev
  PGP key available
 
 



~|
ColdFusion MX 6.1, now 2.5 times faster. 
http://www.macromedia.com/software/coldfusion/productinfo/upgrade/jump/introducing.html?trackingid=ColdFusion_468x60g_HouseofFusion_carat_082803

Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138480
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Caller access to query

2003-08-15 Thread Venable, John
Well, even though there's some issue of the best way to pull this off, I am
having another problem. I am trying to create a custom tag that will out put
user data into x number of columns with the attributes being QueryName and
NumberOfColumns. My problem now is that I want to be able to mix plain text
or html with variables. I've gotten it to do one or the other, if I use
#evaluate(localcontent)# in the code below, I can output variables from the
query that were passed, if I don't use evaluate, I can get text, but the
variables show up as #variable#. Anyone know a way around this?


!--- da code ---
cfswitch expression=#ThisTag.ExecutionMode#
cfcase value=Start
cfif NOT ThisTag.HasEndTag
cfabort showerror=This tag needs an end tag 
/cfif
cfif NOT IsDefined(Attributes.QueryName)
cfabort showerror=The attribute QUERYNAME is required to
run this tag  
/cfif
cfparam  name=Attributes.NumberOfColumns default=3
/cfcase

cfcase value=End
cfset LocalContent=ThisTag.GeneratedContent

table border=0 cellpadding=2 cellpsacing=2 width=100%

cfoutput query=#LocalQuery#
cfif currentrow mod attributes.NumberOfColumns is 1
tr
/cfif
td align=right #LocalContent# /td
cfif currentrow mod attributes.NumberOfColumns is 0
/tr
/cfif
/cfoutput

cfif LocalQuery.recordcount mod NumberOfColumns is not 0
cfset variables.ColsLeft = attributes.NumberOfColumns -
(LocalQuery.recordcount mod attributes.NumberOfColumns)
cfloop from = 1 to = #variables.ColsLeft# index = i
tdnbsp;/td
/cfloop
/tr
/cfif
/table
/cfcase
/cfswitch




-Original Message-
From: Andre Mohamed [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 12:41 PM
To: CF-Talk
Subject: RE: Caller access to query


Some people (not necessarily me) believe doing this is better:

cf_mytag theQuery=#myQuery#/

i.e. passing the query by value and hence avoiding breaking any kind of
encapsulation.

Inside the tag you refer to the query in the normal way e.g.

cfset localQuery = attributes.theQuery

or just:

cfloop query=attributes.theQuery
...
/cfloop

However, if you follow the syntax of native ColdFusion tags then the
analogous approach is to do what you have opted to do. E.g.

cf_mytag theQuery=myQuery/

Inside the tag:

cfset localQuery = caller[attributes.theQuery]/


André

-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED] 
Sent: 13 August 2003 19:13
To: CF-Talk
Subject: RE: Caller access to query

Thanks everyone, I was passing the queryname in as an attribute and
cfset
_localQuery = Evaluate(Caller. + Attributes.query) / was just what I
needed. I had to change the + to  for concatenation though.

Thanks

John Venable

-Original Message-
From: webguy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 12:58 PM
To: CF-Talk
Subject: RE: Caller access to query


If myquery is the query on your page then in your custom tag

cfset _localQuery = Caller.myquery /

Better is to pass the query in the tag

cf_mytag query=myquery /

and in the tag

cfset _localQuery = Evaluate(Caller. + Attributes.query) /


WG

-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED]
Sent: 13 August 2003 17:45
To: CF-Talk
Subject: Caller access to query


Is there a way to access an existing query recordset from a custom tag
called on the page? So if I have a query in a page, and I call a custom
tag,
can i use the query data through come sort of caller scope object? I
can't
seem to make it work.

Thanks

John Venable




~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Caller access to query

2003-08-14 Thread Venable, John
Is there a way to access an existing query recordset from a custom tag
called on the page? So if I have a query in a page, and I call a custom tag,
can i use the query data through come sort of caller scope object? I can't
seem to make it work.

Thanks

John Venable
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Separating IIS from CF

2003-08-14 Thread Venable, John
We just had a security audit and one of the recommendations was to separate
Cold Fusion and IIS onto two separate systems. I hadn't heard of doing this,
and am really wary of doing this since we are using Commonspot and I have no
idea what ramifications would result.

Their reasoning for this was pretty vague, so can anyone give me reasons why
we should and shouldn't do this? The motivation in this particular case
being improved security.

Thanks

John

---
John Venable
Director of Web Architecture
Epilepsy Foundation 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Caller access to query

2003-08-14 Thread Venable, John
Thanks everyone, I was passing the queryname in as an attribute and cfset
_localQuery = Evaluate(Caller. + Attributes.query) / was just what I
needed. I had to change the + to  for concatenation though.

Thanks

John Venable

-Original Message-
From: webguy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 12:58 PM
To: CF-Talk
Subject: RE: Caller access to query


If myquery is the query on your page then in your custom tag

cfset _localQuery = Caller.myquery /

Better is to pass the query in the tag

cf_mytag query=myquery /

and in the tag

cfset _localQuery = Evaluate(Caller. + Attributes.query) /


WG

-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED]
Sent: 13 August 2003 17:45
To: CF-Talk
Subject: Caller access to query


Is there a way to access an existing query recordset from a custom tag
called on the page? So if I have a query in a page, and I call a custom tag,
can i use the query data through come sort of caller scope object? I can't
seem to make it work.

Thanks

John Venable


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RTF and MIME types

2003-07-30 Thread Venable, John
I've been trying to output a query as an .rtf file and I think I'm having
trouble with MIME type. I have followed the article at IRT
(http://tech.irt.org/articles/js154/index.htm) and it works great in
mozilla, but with my IE it shows nothing but raw rtf code. How do I make
this work, and what do i do if my users (most of whom are using IE) run into
this problem.

Thanks

John Venable

---
John Venable
Director of Web Architecture
Epilepsy Foundation 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: RTF and MIME types Addendum

2003-07-30 Thread Venable, John
OK, now I get it to bring up the save dialog, but it wants to save it as
.cfm. If I manually change the extension to .rtf, the file is valid but my
users are not savvy enough to do that. I thought the cfcontent tag made that
unnecessary

code snippet:
cfcontent type=application/rtfcfoutput[rtf code]...

Thanks again

John Venable

---
John Venable
Director of Web Architecture
Epilepsy Foundation 

-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 2:04 PM
To: CF-Talk
Subject: RTF and MIME types


I've been trying to output a query as an .rtf file and I think I'm having
trouble with MIME type. I have followed the article at IRT
(http://tech.irt.org/articles/js154/index.htm) and it works great in
mozilla, but with my IE it shows nothing but raw rtf code. How do I make
this work, and what do i do if my users (most of whom are using IE) run into
this problem.

Thanks

John Venable

---
John Venable
Director of Web Architecture
Epilepsy Foundation 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: RTF and MIME types Addendum

2003-07-30 Thread Venable, John
try \page

you can get the MS RTF Spec here: http://www.dubois.ws/software/RTF/

John Venable

---
John Venable
Director of Web Architecture
Epilepsy Foundation 


-Original Message-
From: Den Melton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 2:49 PM
To: CF-Talk
Subject: RTF and MIME types Addendum


There's a great example of RTF at:
http://tech.irt.org/articles/js154/index.htm.

It works well for single as multiple record sets. Does anyone know how to
put a page break in so each record shows on a seperate page within the
document?
Thanks 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Money Datatype Problem

2003-06-14 Thread Venable, John
Maybe someone can tell me what I'm doing wrong. I have a field in SQL Server
2K that is money datatype. I am building a submission form to populate that
field and I keep getting errors about type. This is what my field insert
looks like:

cfif
len(trim(form.HourlyWage))'#trim(numberFormat(form.HourlyWage,999.99))#'
cfelseNULL/cfif

Which throws this error:

Disallowed implicit conversion from data type varchar to data type money,
table 'JobTech.dbo.Enrollments', column 'HourlyWage'. Use the CONVERT
function to run this query.

Even though in debugging, the value is 10.00 which seems pretty money-like
to me.

SO I tried this:

cfif
len(trim(form.HourlyWageBefore))'CONVERT(money,#trim(numberFormat(form.Hour
lyWageBefore,999.99))#)'cfelseNULL/cfif

Same error. Then I tried this:

cfif
len(trim(form.HourlyWageBefore))'cast(#trim(numberFormat(form.HourlyWageBef
ore,999.99))# AS MONEY)'cfelseNULL/cfif

Same error. 

What am I doing wrong? I thought CF was typeless.

Thanks 

John Venable
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Money Datatype Problem

2003-06-14 Thread Venable, John
Sorry guys, I had to leave earlier...

Anyway, I tried everything, including what seemed like the obvious solution,
Jochem's to use a cfqueryparam with the money datatype, but i still got the
same error. Very strange.

I have given up, and am now successfully using the real datatype.

thanks to everyone who suggested solutions.

John Venable
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



multiple select drop down from query

2003-06-09 Thread Venable, John
This seems to be a very common requirement for me so I'm sure someone can
tell me how to do this most efficiently.

I have pages that can be in one or more sections. I have a Pages table and I
have a Sections table. They are joined with a join table called
Page_Sections. I want to enable a HTML SELECT element with multiple
selections enabled to update the page assignments. What I have been doing is
shown below, and it seems messy. Basically aside from the Query grabbing the
individual page info, I do separate queries to populate the dropdown and a
query of the join table to see which section names the page is in so I can
pre-select them.

Trouble is now i have an edit form with several of these many-to-many
relationships and I'd have a whole bunch of these little queries if I kept
doing it this way. Anyone have a better suggestion? 

Thanks

John Venable

!--- Get all sections ---
cfquery name=qSections datasource=content dbtype=OLEDB
SELECT section_id, Section_Name
FROM ap_Sections
ORDER BY section_name
/cfquery

!--- Get all sections for this page ---
cfif NOT newrecord
cfquery name=qPageSections datasource=content dbtype=OLEDB
SELECT section_id 
FROM Page_Sections 
WHERE page_id = #pageid#
/cfquery

cfset sectionsForThisPage = ValueList(qPageSections.section_id)
/cfif
!--- Build a select element of all sections, pre-selecting the sections for
this page ---
cfif NOT newrecord
select name=section size=25 multiple
cfoutput query=qSections
option value=#section_id# cfif
ListFind(sectionsForThisPage,section_id)selected/cfif#section_name#/opt
ion
/cfoutput
/select
cfelse
select name=section size=25 multiple
cfoutput query=qSections
option value=#section_id##section_name#/option
/cfoutput
/select
/cfif


---
John Venable
Director of Web Architecture
Epilepsy Foundation 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



cftransaction with OLEDB

2003-06-03 Thread Venable, John
A co-worker was browsing through Chris Cortes' book, Optimizing Cold Fusion
5, and she came across this:

by far the most limiting problem with cftransaction is that it currently
only supports the odbc connection

So my question is, is this true (on CF5+)? and if so does this mean I can't
use cftransaction on an OLEDB connection?

Thanks

John Venable
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CFFILE problem

2003-05-30 Thread Venable, John
I have a template that allows one of our folks to upload a word .doc to a
given directory. I have been experiencing a strange error lately.

i get this error when it's run by this person:

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CFFILE Problem

2003-05-30 Thread Venable, John
as i was saying...
I have a template that allows one of our folks to upload a word .doc to a
given directory. I have been experiencing a strange error lately.

i get this error when it's run by this person:

The MIME type of the uploaded file (application/octet-stream) was not
accepted by the server. Please verify that you are uploading a file of the
appropriate type.
but when I try with the exact same file, it works fine for me.

Are there any machine-specific issues with cffile i should check?

John Venable
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Homesite+ Question

2003-03-13 Thread Venable, John
Hello,

Just got a new XP machine and went ahead and installed MX Studio
with Homesite+. I'm trying to set it up like I used to have my CF Studio set
up, but I have two strange issues I can't figure out.

1) Under options  settings  resource tab preferences Lock Tabs is
enabled but dimmed meaning I can't unlock tabs to get rid of some of them

2) Similar problem with trying to customize visible toolbars. The checkbox
next to each toolbar will not let me uncheck it.
Anyone have any idea why this might be?

Thanks

John Venable

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Inserting date/time stamp

2003-03-10 Thread Venable, John
Try 

#dateformat(now(), ,  dd, )# #timeformat(now(),hh:mm)#

I think that's right, masks may be off.

John Venable

 -Original Message-
From:   FlashGuy [mailto:[EMAIL PROTECTED] 
Sent:   Monday, March 10, 2003 2:27 PM
To: CF-Talk
Subject:RE: Inserting date/time stamp

HmmmI also want the date and time displayed on my form. I did a
cfoutput#now()#/cfoutput but I don't like the results.

I want something like:

Monday, March 10, 2003 at 2:26pm



On Mon, 10 Mar 2003 13:19:13 -0600, Raymond Camden wrote:

 Do you want to know the time when the form was 'opened' (viewed you
 mean) or actually saved? For example, I may hit your form at 12:01 PM,
 and it may take me 5 minutes to fill it out. So would you want 12:01 PM
 stored, or 12:06 PM, the time when the form was actually submitted? If
 you want the first time, simply eded this in the form:
 
 input type=hidden name=theTime value=#now()#
 
 and store form.theTime in your db. If you want the time submitted, just
 passed now() to your database (or whatever function your db uses to
 represent the current time).
 
 ===
 Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
 Member of Team Macromedia
 
 Email: [EMAIL PROTECTED]
 Blog : www.camdenfamily.com/morpheus/blog
 Yahoo IM : morpheus
 
 My ally is the Force, and a powerful ally it is. - Yoda 
 
  -Original Message-
  From: FlashGuy [mailto:[EMAIL PROTECTED] 
  Sent: Monday, March 10, 2003 1:14 PM
  To: CF-Talk
  Subject: Inserting date/time stamp
  
  
  Hi,
  
  I have a form that I want to insert the date and time when 
  the form is opened. This will also be saved to a database when saved.
  
  Whats the best way of also creating a automatic reference 
  no which increments when a new form is opened?
  
  Any ideas...
  
  
  ---
  Colonel Nathan R. Jessop
  Commanding Officer
  Marine Ground Forces
  Guatanamo Bay, Cuba
  ---
  
  
  
  
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



DB Strategy

2003-02-05 Thread Venable, John
Over time I have created many little web apps that parts of our organization
use. Inevitably there's time when I also want to utilize that data in the DB
to pull it to the website, often times relating it to another table that may
be in another DB. I know there are a variety of different reasons not to put
everything in one big database, but how does one relate disparate
Datasources? What are the various strategies for this, I can think of some
(i.e. DTS duplicating tables) but I wanna know what the big guys are doing.

(one quick example of what I am meaning is a zip code DB which I want to be
able to relate to a bunch of other tables in various other DBs.)

Thanks much,

John
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: DB Strategy

2003-02-05 Thread Venable, John
That's interesting, I seem to remember a thread on the list a while ago
about the best practices for maintenance and security saying that each DB
should be fairly narrowly focused. 

Some of the data is not necessarily related to each other, but more related
in that I'd like to be able to do a zip-code statistical look at things in a
couple different tables. For instance, I have an Information and Referral
database where I need to do zip code lookups. I also have a users database
that I would like to do a zip code lookup. Also many of these separate DBs
are specific to an application.

Oddly enough as I write this i'm seeing way that these things *should* be in
the same database. So I guess this turns my question into one of how do I
take many different apps developed over many years and integrate them
together... :-) 

Let me narrow the focus a bit. Specifically I have a zipcode database that I
need to use in various DBs. Is there a best way to keep this data current
across all instances? Should I replicate it when I install the new one?

Thanks,

John


-Original Message-
From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 3:12 PM
To: CF-Talk
Subject: Re: DB Strategy


  You can use ColdFusion's query of a query feature to do this.
  A more complex route is to write your own custom code to put two queries 
together into a new query using the query functions.

  However, I do question the comment that you shouldn't put everything in a 
big database.  Yes, I agree that sometimes there are reasons; such as the 
data being in no way related.  ( For instance, the web site dedicated to my 
books vs the web site dedicated to my band ).

  If you are talking about related data, I might make the argument that 
there is no reason to store it in different databases.  Different tables, 
yes.  Different databases, probably not.

  Of course, it depends on your data and usage.  I'm curious (Perhaps even 
obsessing) over why the data is in different DBs if it needs to be related.

At 02:09 PM 2/5/2003 -0500, you wrote:

Over time I have created many little web apps that parts of our
organization
use. Inevitably there's time when I also want to utilize that data in the
DB
to pull it to the website, often times relating it to another table that
may
be in another DB. I know there are a variety of different reasons not to
put
everything in one big database, but how does one relate disparate
Datasources? What are the various strategies for this, I can think of some
(i.e. DTS duplicating tables) but I wanna know what the big guys are doing.

(one quick example of what I am meaning is a zip code DB which I want to be
able to relate to a bunch of other tables in various other DBs.)

Thanks much,

John


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: DB Strategy

2003-02-05 Thread Venable, John
I am using the term (rightly or wrongly) as SQL Server shows it. I have a
single database Server with multiple databases. I apologize if this is
technically incorrect, I am obviously not a database expert but these are
the terms I was taught and have seen quite often. If it helps, I think what
I am referring to as a DB you are calling an instance.

john

-Original Message-
From: Lincoln Milner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 4:02 PM
To: CF-Talk
Subject: RE: DB Strategy


I should like to put my 2¢ in here, since I've often heard the term
database to be used inappropriately in conversation, even by those persons
working in the field.  In Oracle, you have one Oracle database, typically.
Within this database, you have one or more instances that live wholly on
their own, and can only be accessed by one another via dblinks (the db
starts the confusion).  Within each instance, you have one or more schemas,
logically structured to match what it is you're doing.

Similarly, MySQL has databases that are created, they're not really
databases.  They could be likened to Oracle's concept of instances.  They
could be connected to one another without a whole lot of difficulty (if I am
remembering correctly).

I think the key here is that you should have one database (Oracle, SQL
Server, MySQL, PostgreSQL, Informix, whatever).  Within this database you
can have instances of project data.  This way, the data isn't commingled or
lost in a shuffle of hundreds of tables, but theoretically can be accessed
from one app to the next.

To give you an example, we have in our offices one Oracle database.  That
database holds roughly 12+ instances that have little (most times nothing)
to do with one another.

Hope this helps...

Lincoln

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: DB Strategy

2003-02-05 Thread Venable, John
Is this possible from Cold Fusion? If I could do this it would be the best
although I tested it and it didn't work.

this query:

cfquery name=qGetRequestsByAffiliate datasource=inforequests
SELECT  contacts.date, contacts.firstname, contacts.mi,
contacts.lastname, contacts.address1, contacts.address2, contacts.city,
contacts.state, contacts.zip, contacts.country, contacts.email,
contacts.homephone, contacts.workphone, contacts.age, names.company,
contacts.usersmessage
FROMdbo.contacts, content.dbo.I_aff_names AS names,
content.dbo.I_zipcodes AS zips
WHERE   contacts.ZIP = zips.zip AND zips.chapter = names.id AND
contacts.date  (getDate() - 7)
ORDER BY company, lastname, firstname
/cfquery

throws this error:

ODBC Error Code = S0002 (Base table not found)

[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
'content.dbo.I_aff_names'.


BTW, I appreciate everyone's help!

John



Perhaps I missed it in your earlier post, but if you're using SQL Server 
(and I'm sure other DB servers can do the same), why not simply reference 
the foreign db/table in your queries?

For example, say you have db/table WebApp/customers and db/table 
Utility/zipcodes - in your CFQUERY, use the DSN for WebApp and then 
reference the zip code table as Utility.dbo.zipcodes.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




CF and IIS permissions

2003-02-03 Thread Venable, John
We've turned off anonymous access to one of our IIS sites and set up a local
account through which everyone can access that site. Now none of the Cold
Fusion apps will run as they all keep popping up the IIS security dialog.
Obviously this is some sort of permissions thing, but I don't know where to
start looking. Any ideas?

Thanks.

John Venable
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




CFMX for OSX

2003-01-08 Thread Venable, John
At the risk of proving everyone's prejudice's against mac users correct,
I've installed JRun as per instructions, and then I went to
http://127.0.0.1:8100/ to check it out before installing CFMX and it won't
connect. Apache is up and running and 127.0.0.1 works. What am I missing? 

John Venable
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Certification

2002-08-15 Thread Venable, John

I have a follow-up to Bryan's question. Can Anyone tell me the cut-off date
for the CF5 certification test?

Thanks

John Venable

-Original Message-
From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 12:12 PM
To: CF-Talk
Subject: Certification


For those CF Certified Devs, what are the benefits. Also is it best to wait
to take the CF6 cert or get CF5 cert than get CF6 cert.


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: http=cgi

2002-08-15 Thread Venable, John

I always use cfdump var=#cgi#

John

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 12:14 PM
To: CF-Talk
Subject: Re: http=cgi


 Another interesting thing you may not know about cgi - you can output
 ANY cgi variable, even if it doesn't exist:

 cfoutput
 #cgi.raycanttype#br
 #structkeyExists(cgi,raycanttype)#
 /cfoutput

 When outputting, the value returned is an empty string, and
 structkeyExists will return Yes.

So is there any function that will return the list of valid cgi variables?


Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Article: A Wealth of Woe at Macromedia

2002-08-13 Thread Venable, John

It's no wonder that executives lie about earnings and losses with people
ready to pull the plug at a moment's notice. Short term investing is killing
our economy and some really good solid companies too. The irony is that this
guy said he feels that Macromedia stocks could sink to new lows, so he tells
everyone else to dump theirs thereby making his prediction true... 

Macromedia is an old company by computer standards and I think they're
making the best products they've ever put out. Any company that can make me
even *think* about switching from Photoshop, which Fireworks has, is not
doing too bad. I think it's a shame to live life quarter to quarter, when
longevity should be more highly valued IMNO.

Sorry for the rant... 

John Venable


-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 9:35 AM
To: CF-Talk
Subject: RE: Article: A Wealth of Woe at Macromedia


hmmm...Investors get out..


:-/



-Original Message-
From: BEN MORRIS [mailto:[EMAIL PROTECTED]]
Sent: 13 August 2002 14:32
To: CF-Talk
Subject: Article: A Wealth of Woe at Macromedia


Article from Business Week:
A Wealth of Woe at Macromedia 
August 9, 2002

This is article focuses on stock prices, but still pretty interesting.

http://www.businessweek.com/investor/content/aug2002/pi2002089_8261.htm?c=bw
techaug13n=link5t=email



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread Venable, John

-Original Message-
From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Re: X-server?

Plus, once you've spent all the $$ on the X-Server, you don't have cash
left
for software :)

From what I've seen Apple is really doing well on the price points as far as
being competitive with other offerings. Am I wrong on this?

IMHO, despite how cool the X-Server is, Apple's about 5 years late in
getting a good server out -- though they needed the solid OS to get to this
point -- and they have a lot of catching up to do. Our local (pretty
high-tech) schools are excited. Some graphics houses I know are excited.
Mainly because they have a small form-factor file server.

Well, Microsoft was at about 15 years late getting a good desktop operating
system out, so maybe there's hope.  ;-)

John Venable
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFFORM validate with REGEX

2002-07-30 Thread Venable, John

Just out of curiosity, anyone know why the vtml tag for CFFORM says nothing
about validating with a regex and is there an update?

Thanks,

John Venable
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: SQL Help

2002-07-30 Thread Venable, John

I don't think you need commas at all, the AND is the logical breakup of
statements.

John

-Original Message-
From: James Blaha [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 2:29 PM
To: CF-Talk
Subject: SQL Help


Can any one help me out here? I'm having a problem getting this query to 
work with putting in the proper commas when necessary in myWHERE clause 
for the SQL statement.

James Blaha

CFQUERY name=JobApplicants datasource=ABC
SELECT  *

FROM HRWebAgent.tApply

WHERE   ReqNO  0

CFIF #form.ReqNo# NEQ 0
AND(ReqNo='#ReqNo#'),
/CFIF

CFIF #form.FIRSTNAME# NEQ 0
AND(FIRSTNAME LIKE '#FIRSTNAME#%'),
/CFIF

CFIF #form.LASTNAME# NEQ 0
AND(LASTNAME LIKE '#LASTNAME#%'),
/CFIF

CFIF #form.APPLIED_DATE# NEQ 0
!--- Dates go in order of old:recent i.e. BETWEEN 
'11/4/2000' AND '6/18/2001' ---
AND(APPLIED_DATE BETWEEN '#back_date_listed2#' AND 
'#now_date2#'),
/CFIF


CFIF #form.Desired_Position# NEQ 0
!--- Desired_Position IN ('Briarcliff','New York') ---
AND(Desired_Position IN 
(#ListQualify(Form.Desired_Position,')#)),
/CFIF



/CFQUERY


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Backward compatibility

2002-07-25 Thread Venable, John

But then how does any change come about? If it's backward compatible for any
one version step, wouldn't  it then never be any different?

If 3.0 = 4 AND 4 = 4.5 AND 4.5 = 5 AND 5 = 6 
THEN 3 = 6 

Personally I'm surprised at how much doesn't break when you consider the
magnitude of the update to the server software.

John Venable

-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 11:09 AM
To: CF-Talk
Subject: RE: Backward compatibility


Phil

Yeh I'm not disagreeing that you haven't clearly explained the depreciated
tags etcmy argument is that if I'm upgrading from one product version to
the next with only 1 step in the jump all of my code should be supported -
hence backward compatibility - just good practice I would have said.  

-Original Message-
From: Phil Costa [mailto:[EMAIL PROTECTED]]
Sent: 25 July 2002 14:03
To: CF-Talk
Subject: RE: Backward compatibility


I don't want to be testy, but in what way have we not covered it:
-- we provide a book in the documentation called migrating ColdFusion 5
applications which talks about all the deprecated tags and tells you how to
use the analyzer
-- we built the code compatibility analyzer

These resources may be imperfect (they always are), but they're pretty
substantial. Is there something else you're thinking of specifically?

Phil


-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 25, 2002 8:18 AM
To: CF-Talk
Subject: RE: Backward compatibility


Thanks for all these guys - will be useful.

Don't people think that Macromedia should have covered this so upgrading
would be seamless? - surely this is a put-off for people to upgrade

-Original Message-
From: Phil Costa [mailto:[EMAIL PROTECTED]]
Sent: 25 July 2002 13:08
To: CF-Talk
Subject: RE: Backward compatibility


You should also check the code analyzer, which is in the admin. It can scan
your code and identify tags that will no longer work as well as tags that
have been deprecated so may not work in the future.

Phil
Macromedia

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 25, 2002 7:58 AM
To: CF-Talk
Subject: RE: Backward compatibility


I found this to be very helpful.. what tag are you referring to in your
post?

http://livedocs.macromedia.com/cfmxdocs/CFML_Reference/Tags-pt0.jsp
http://livedocs.macromedia.com/cfmxdocs/CFML_Reference/Tags-pt03.jsp#2451739
http://livedocs.macromedia.com/cfmxdocs/CFML_Reference/Tags-pt04.jsp#2451949

Mike



-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 7:45 AM
To: CF-Talk
Subject: Backward compatibility


Just started to use MX and am finding that load of the code I've written in
4.5/5 is not backward compatible.  e.g cfvarname attribute in cf 4.5/5 is
now variable? - anyone know what the attribute dbvarname has changed to?

Bit shoddy if you ask me

-- 
Andy Ewings
Director 
Thoughtbubble Ltd
http://www.thoughtbubble.net 
-- 
United Kingdom 
http://www.thoughtbubble.net 
Tel: +44 (0) 20 7387 8890 
-- 
New Zealand 
http://www.thoughtbubble.co.nz/ 
Tel: +64 (0) 9 419 4235 
-- 
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0)207 387 8890. 








__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



MX Local SQL Server Datasource

2002-07-25 Thread Venable, John

OK, I'm stupid (or maybe this is a clever diversion from other less savory
threads...). I've got a local SQL Server running on my machine as well as
CFMX. I'm trying to set up a datasource to that SQL Server, I cannot get it
to connect. What is the SQL Server's Name? I tried Local, I've tried
(local), I've tried MACHINENAME\LOCAL  but it just doesn't want to connect.

Any ideas?

John Venable
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: MX Local SQL Server Datasource (addendum)

2002-07-25 Thread Venable, John

BTW, This is the error I get: 

Connection verification failed for data source: Content
[]java.sql.SQLException: SQLException occurred in JDBCPool while attempting
to connect, please check your username, password, URL, and other
connectivity info.
The root cause was that: java.sql.SQLException: SQLException occurred in
JDBCPool while attempting to connect, please check your username, password,
URL, and other connectivity info.



---
John Venable
Director of Web Architecture,
Epilepsy Foundation

-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 3:27 PM
To: CF-Talk
Subject: MX Local SQL Server Datasource


OK, I'm stupid (or maybe this is a clever diversion from other less savory
threads...). I've got a local SQL Server running on my machine as well as
CFMX. I'm trying to set up a datasource to that SQL Server, I cannot get it
to connect. What is the SQL Server's Name? I tried Local, I've tried
(local), I've tried MACHINENAME\LOCAL  but it just doesn't want to connect.

Any ideas?

John Venable
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



ARGH! CFMX is weird!

2002-07-25 Thread Venable, John

OK, Now I not only cannot create a Datasource in MX, I can't even log into
the admnistrator. This is suddenly too. I get this error.

File not found: /JRunScripts/jrun.dll/cfide/administrator/enter.cfm

I have gone through the installation part of the manual, verified IIS is set
up, jumped through hoop number three and still cannot get this thing working
now.

Very frustrated, I've never had this much trouble with CF5.

Ideas???

Thanks so much,

John Venable



---
John Venable
Director of Web Architecture,
Epilepsy Foundation
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: ARGH! CFMX is weird!

2002-07-25 Thread Venable, John

I'm tellin ya, I'm rapidly coming to that conclusion...

John

---
John Venable
Director of Web Architecture,
Epilepsy Foundation


-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 4:43 PM
To: CF-Talk
Subject: RE: ARGH! CFMX is weird!


is it me, or did mm shit the bed on this cfmx deal?
its like we got a nice solid product with cf5, everything
seems to work--for the most part, and then they
throw all this java stuff into the mix, and BAMMM!
goodbye flawless functionality

the old adage really seems to fit here

if it aint broke don't fix it!
or in the cf5 community's case...
if it aint broke don't cfmx it!

.tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337 

-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 25, 2002 4:35 PM
To: CF-Talk
Subject: ARGH! CFMX is weird!


OK, Now I not only cannot create a Datasource in MX, I can't even log
into the admnistrator. This is suddenly too. I get this error.

File not found: /JRunScripts/jrun.dll/cfide/administrator/enter.cfm

I have gone through the installation part of the manual, verified IIS is
set up, jumped through hoop number three and still cannot get this thing
working now.

Very frustrated, I've never had this much trouble with CF5.

Ideas???

Thanks so much,

John Venable



---
John Venable
Director of Web Architecture,
Epilepsy Foundation


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



THOMAS data

2002-06-03 Thread Venable, John

Similar to another earlier post, anyone doing any mining of Thomas, the
library of Congress' database of legislation and legislators. We're
currently paying for a company to bundle this stuff for us, but it seems
like they publish ways to search live from another site, didn't know if
anyone had done any experimenting with this.

John Venable
Director of Web Architecture,
Epilepsy Foundation
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CommonSpot feedback

2002-05-31 Thread Venable, John

Hello,

Anyone have any experience with CommonSpot? Good? Bad? Any
competitors I should know about? Feel free to reply off list.

Thanks,

John Venable
[EMAIL PROTECTED]
Director of Web Architecture,
Epilepsy Foundation
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFMX on OSX

2002-05-29 Thread Venable, John

Sorry to be a pest but wasn't someone going to post a how-to on how they got
CFMX running on OSX?

Thanks in advance,

John Venable
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX OS X [rant]

2002-04-29 Thread Venable, John

Supposedly Apple's implementation of Java is very well done too.

I'm hoping at least we'll see some CF Studio-like features (RDS) in the new
Dreamweaver...

John Venable

-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 3:31 PM
To: CF-Talk
Subject: CFMX OS X [rant]


rant

Umm... very disappointed that MX does not run on OS X... I was hoping...

At least as a developer platform, if not as a deployment platform.

A Mac has some significant advantages for web developers.   For example: 
you can easily and inexpensively run multiple concurrent platforms (Win 
9x, Win NT, Win 200, Win MX, Linux, OS X, etc) to test the look and feel 
of an application in these environments... you can do this all on a 
machine that costs under $800 and takes up less than15 cubic inches of 
desk space

I am told that is no business case for MM to release CFMX for OS X?

I read somewhere, that with the release of OS X, overnight, the Apple 
logo was on more 'nix workstations than any other.

Not to mention. that every Mac ships with OS X, integrated:  Apache, 
Java, etc already installed and ready to use (also Perl and pHp).  No 
separate installs, service packs, downloads... it's all there... part of 
OS  X.

I got the feeling that maybe MM looked at Apple's WebObjects  (WO) as 
competition (or vice versa)... but then the MM hookup with IBM shows 
(potentially) how two competitors can cooperate to the benefit of both 
(and their customers).

I think CFMX  WO would integrate nicely  (Note, WO, for $700, includes 
GUI programming/debugging interfaces, and an operational SQL database)

Finally,  CFMXOSXWO...  what  a natural for an acronym... it would be on 
everyones' lips...

/rant


Dick



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX OS X [rant]

2002-04-29 Thread Venable, John

You mean like Apache/PHP/MySQL/postgres? Or are you talking commercial
software providers?

Also I think the argument could be made that MacOSX is a real *NIX with a
fancy window manager on top. 

John Venable



-Original Message-
From: Neil Clark - =TMM= [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 3:47 PM
To: CF-Talk
Subject: RE: CFMX OS X [rant]


I think as I stated earlier, is that Apple / OSX is not in the
mainstream for things like ISP's etc... So in business terms it would be
suicidal to create an OSX version of server software which you may sell
only a handful of units.

I must admit, I have never been a fan of Macs (and yes, I have used
them) but OS X is stable[er] than most Apple OS' I have seen/used.

It's a case of supply and demand - you have to view the stats of how
many Windows / Linux / 'real' Unix users there are against Apple OS -
they are overwhelming, making an OSX version harder to justifiably
produce.

Remember that Windoze, 'real' Unix etc.. are all tried and tested (and
broken), just because Apple suddenly started to use a different approach
to its underlying achitecture does not mean to say that it had
underlying motives for software vendors, in fact it was probably to make
it run faster and have less Error Type [fill the blank]

I also think it would be stupid for ANY software developer to start
producing tried and tested server software for OSX as of yet.

Again, just my £0.02

:-p

Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
--
http://www.macromedia.com/software/trial/.



__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



parsing DB content

2002-04-24 Thread Venable, John

We have a couple of apps that read page data from a database. Is there a way
to parse custom tags when reading this data from the database?

for instance if a page is represented in the DB as a custom tag,
CF_pagedata, if I do a query and pull that out, it will not run the cf
tag. Is there a way to make it do this? If not, anyone have an alternative
approach to this problem?

  cfquery name=fakequery
get database record where page is cf_pagedata
  /cfquery

  cfoutput query=fakequery

#pagedata#

  /cfoutput

Thanks,

John Venable
Director of Web Architecture
Epilepsy Foundation
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF's Most Wanted ::

2002-04-23 Thread Venable, John

Couldn't this be done using a flash component?

John Venable
Director of Web Architecture
Epilepsy Foundation

-Original Message-
From: Raymond Camden
To: CF-Talk
Sent: 4/23/02 12:20 PM
Subject: RE: CF's Most Wanted ::

 -Original Message-
 From: Rafael (Alan Bleiweiss) [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, April 23, 2002 12:11 PM
 To: CF-Talk
 Subject: RE: CF's Most Wanted ::
 
 
 My all-time favorite request:  Drag and drop file upload into 
 a web based 
 CF Form  
 

(Speaking for myself, not Macromedia)

This is a great idea - as soon as all the browser agree upon a standard
DHTML implementation, it will make sense. ;)

Seriously though - I wouldn't use any tag that spit out DHTML like that.
If I can't control the code, I won't use it. That's why I didn't use
WYSIWYG IDEs. Even if we had a CFDRAGDROPUPLOAD tag, it would probably
break as soon as MS releases IE7.

===
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 


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF and Business Logic

2002-04-20 Thread Venable, John

Matt,

Define Proficient.

John Venable

-Original Message-
From: Matt Liotta
To: CF-Talk
Sent: 4/20/02 3:40 PM
Subject: RE: CF and Business Logic

You would be surprised. I have found that once you understand C and C++
well, you can learn any language in a matter of weeks.

My current list of languages I have proficiency with is as follows.

C, C++, C#, J#, VB, VB.NET, VBA, ColdFusion, Java, JavaScript, Jscript,
VBscript, ASP, ASP.NET, PHP, TCL, PERL, AWK, SH, BASH, HTML, XHTML, XML,
XSL, PL/SQL, T-SQL

More recently I have started playing with Python, Ruby, and Eiffel. And
when I am looking to stretch my mind into AI territory, I play with
Lisp, Scheme, and Prolog.

-Matt

 -Original Message-
 From: Douglas Brown [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, April 20, 2002 12:12 PM
 To: CF-Talk
 Subject: Re: CF and Business Logic
 
 H wonder if I could do that in my life time. What a resume it
would be
 though.
 
 C
 C#
 C++
 Javascript
 java
 php
 asp
 coldfusion
 perl
 delphi
 mfc
 vb
 assembly
 pascal
 html
 xml
 jsp
 actionscript
 
 
 
 
 
 
 Success is a journey, not a destination!!
 
 
 
 Doug Brown
 - Original Message -
 From: Matt Liotta [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Saturday, April 20, 2002 8:41 AM
 Subject: RE: CF and Business Logic
 
 
  No, I was serious about trying to learn every language there is.
  Although, you could avoid the strictly academic languages if time is
an
  issue. :)
 
  -Matt
 
   -Original Message-
   From: Dave Watts [mailto:[EMAIL PROTECTED]]
   Sent: Saturday, April 20, 2002 4:50 AM
   To: CF-Talk
   Subject: RE: CF and Business Logic
  
Do yourself a service and learn every language under the Sun ...
  
   Is this a subtle push in the direction of Java specifically?
  
   Dave Watts, CTO, Fig Leaf Software
   http://www.figleaf.com/
   voice: (202) 797-5496
   fax: (202) 797-5444
  
  
 
 

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CF and Business Logic

2002-04-19 Thread Venable, John

More of a philosophical question. I was meeting with a potential
subcontractor the other day and he made the remark that once you get into
serious business logic, cold fusion is kinda hokey. Anyone care to
possibly elaborate on what he might've meant? Or is this just another one of
those anti-CF prejudices?

Just wondering,

John Venable
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF and Business Logic

2002-04-19 Thread Venable, John

That feels much better. I'm about an intermediate CF programmer and I was
wondering if maybe I just hadn't done anything serious... I kinda had a
feeling this was just prejudice, but I wanted to check with some more
experienced folks.

Thanks for the feedback.

John

-Original Message-
From: Kevin Langevin [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 10:32 AM
To: CF-Talk
Subject: RE: CF and Business Logic


I doubt he can back up his statement...I've never encountered anything that
couldn't be done from a business logic standpoint with ColdFusion.  Unless
he can support it, I'd leave him just as he is...a potential.


Kevin Langevin
Flying Chimp Media
954-585-0999
[EMAIL PROTECTED]
http://www.FlyingChimp.com

 -Original Message-
 From: Venable, John [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 19, 2002 10:17 AM
 To: CF-Talk
 Subject: CF and Business Logic


 More of a philosophical question. I was meeting with a potential
 subcontractor the other day and he made the remark that once you get into
 serious business logic, cold fusion is kinda hokey. Anyone care to
 possibly elaborate on what he might've meant? Or is this just
 another one of
 those anti-CF prejudices?

 Just wondering,

 John Venable
 

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF and Business Logic

2002-04-19 Thread Venable, John

Alex, are you a coworker?? Sounds just like my place of employment...  ;-)

john

-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 11:08 AM
To: CF-Talk
Subject: RE: CF and Business Logic


Business logic means sitting in meetings, covering your ass, and talking
without knowing. 

On Fri, 19 Apr 2002, Thane Sherrington wrote:

 At 10:39 AM 04/19/2002 -0400, Venable, John wrote:
 That feels much better. I'm about an intermediate CF programmer and I was
 wondering if maybe I just hadn't done anything serious... I kinda had a
 
 I'm a beginning CF programmer, and I'm not sure what business logic 
 means.  Could someone explain it?
 
 T
 
 

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Recursive Query: Anything better??

2002-04-17 Thread Venable, John

Worked like a charm Rob, Thanks so much!!

John Venable

-Original Message-
From: Rob Baxter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 11:03 AM
To: CF-Talk
Subject: RE: Recursive Query: Anything better??


I't probably possible in sql, but it would be a pain.

I haven't used it but why don't you check out this UDF I found on CFLib. It
looks like exactly what you need.

http://cflib.org/udf.cfm?ID=543

Let me know how it works.
/rob

-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 10:49 AM
To: CF-Talk
Subject: RE: Recursive Query: Anything better??


Rob,

I am using SQL Server and this works great. Thanks much.

Is there a way to turn weekofyear into a human readable form, such as the
Sunday that starts that week??

TIA

John Venable

-Original Message-
From: Rob Baxter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 5:47 PM
To: CF-Talk
Subject: RE: Recursive Query: Anything better??


You didn't say what DB you are using but this should work on SQL Server ...

select count(id) as Num, datepart(ww, date) as weekofyear, year(date) as
year
from main
where date  #firstDate# and date  #lastDate#
group by datepart(ww, date), year(date)
order by year, weekofyear

/rob

-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 5:25 PM
To: CF-Talk
Subject: Recursive Query: Anything better??


I'm sure there is something better than what I'm doing, basically I want to
do a weekly count of how many people have signed up for our newsletter.
Here's what I have, it seems VERY inefficient. Any SQL gurus out there wanna
help me out? Thanks in advance.

cfset end=5/19/01
cfloop condition=#end# LT now()
cfquery name=stats datasource=email dbtype=OLEDB
cachedwithin=#CreateTimeSpan(30, 0, 0, 0)#
SELECT count(id) as num
FROM  MAIN
WHERE date between '#dateformat(DateAdd(d, -7, end))#' AND
'#dateformat(end, mm/dd/yy)#'
/cfquery

cfoutput query=STATS
td align=center valign=bottom[formatting clipped for
clarity]/td
/cfoutput
cfset end=#DateAdd(d, +7, end)#
/cfloop


John Venable




__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Recursive Query: Anything better??

2002-04-16 Thread Venable, John

I'm sure there is something better than what I'm doing, basically I want to
do a weekly count of how many people have signed up for our newsletter.
Here's what I have, it seems VERY inefficient. Any SQL gurus out there wanna
help me out? Thanks in advance.

cfset end=5/19/01
cfloop condition=#end# LT now()
cfquery name=stats datasource=email dbtype=OLEDB
cachedwithin=#CreateTimeSpan(30, 0, 0, 0)#
SELECT count(id) as num
FROM  MAIN
WHERE date between '#dateformat(DateAdd(d, -7, end))#' AND
'#dateformat(end, mm/dd/yy)#'
/cfquery

cfoutput query=STATS
td align=center valign=bottom[formatting clipped for
clarity]/td
/cfoutput
cfset end=#DateAdd(d, +7, end)#
/cfloop


John Venable
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists