try <cfset metaData = GetMetaData(yourcfc)>

<cfdump var="#metaData#" label="MetaData for yourcfc">

Colm

Colm Brazel MA
CB Publications
www.cbweb.net <http://www.cbweb.net>
Macromedia-Dublin UserGroup Manager
http://www.mmug-dublin.com
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

Web Site Design & Development, Cold Fusion,
general publishing including E-Books.

The information contained in this e-mail transmission is confidential and
may be privileged. It is intended only for the addressee(s) stated above.

If you are not an addressee, any use, dissemination, distribution,
publication,or copying of the information contained in this e-mail is
strictly prohibited.

If you have received this e-mail in error, please immediately
notify CB Publications by telephone at 353-1-4941625 or e-mail
[EMAIL PROTECTED] and delete the e-mail from your system.


  -----Original Message-----
  From: Colm Brazel [mailto:[EMAIL PROTECTED]
  Sent: 24 November 2003 15:36
  To: CF-Linux
  Subject: RE: CROSSPOST: Is this a bug? datasource as variable does not
work in cfc

  Hi Dave,

  I'd have to see the code for that, basically though the answer lies around
  declaring the datasource as a session, local, this or arguments scope.

  cheers

  Colm

  Colm Brazel MA
  CB Publications
  www.cbweb.net <http://www.cbweb.net>
  Macromedia-Dublin UserGroup Manager
  http://www.mmug-dublin.com
  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

  Web Site Design & Development, Cold Fusion,
  general publishing including E-Books.

  The information contained in this e-mail transmission is confidential and
  may be privileged. It is intended only for the addressee(s) stated above.

  If you are not an addressee, any use, dissemination, distribution,
  publication,or copying of the information contained in this e-mail is
  strictly prohibited.

  If you have received this e-mail in error, please immediately
  notify CB Publications by telephone at 353-1-4941625 or e-mail
  [EMAIL PROTECTED] and delete the e-mail from your system.

    -----Original Message-----
    From: Dave Wilson [mailto:[EMAIL PROTECTED]
    Sent: 18 November 2003 12:30
    To: CF-Linux
    Subject: CROSSPOST: Is this a bug? datasource as variable does not work
in
  cfc

    Hi all,

    I've been porting over some flash remoting code to work with a new mysql
    version of our original MS SQL database and came across some rather
  strange
    behaviour. Basically I've discovered that declaring the datasource
  parameter
    in a query within the cfc, doesn't work.

    Typically I set the application.dsn value in my Application.cfm file and
    then anywhere within my application I simply use
    datasource=#application.dsn# for my queries (like most ppl do).

    Doing this within a cfc - service for flash remoting - breaks the query
  and
    consequently the flash app depending on the service. Debugging does
throw
  an
    error stating the variable does not exist, but I've tried declaring the
    variable by other means and basically have found the datasource
parameter
    simply cannot accept a variable whilst within a cfcomponent in a cfc.

    Environment:

    CFMX 6.1, RH7.2, Apache 2.043


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

Reply via email to