I'd try naming your function something else besides "query" ...
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of David Brown
Sent: Thursday, March 17, 2005 4:51 PM
To: [email protected]
Subject: [CFCDev] Routines cannot be declared more than once

I am trying to learn CFC's.  I have created two cfc's one named ldap and one named kronos.  Both have a public method named query.
I am using the cfobject tag in my application.cfm to create both objects but I get the error:
Routines cannot be declared more than once
 
Does this mean only one created object can have the method named query and the other needs to be named select or whatever?
 
David
---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to