If it is just a structure with 1 'iteration'
You can treat the keys like a list.
cfloop list=#structKeyList(structure)# index=x
#x# (would be the keyName)
#evaluate(x)# would be the value of the key
/cfloop
-chris.alvarado
[ application developer ]
4 Guys Interactive, Inc.
http://www.4guys.com
cfscript
for(key in yourStruct)
WriteOutput(key : yourStruct[key]);
/cfscript
Matt Liotta
President CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901
-Original Message-
From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]]
Sent:
This may be a part of my issue. The struct being returned is basically
like this:
objTitles
intDocID
strName
strFileName
dtDateAdded
I tried changing the CFC function return type to a query and accessing
the data as you usually would access query data, but when I refreshed
the
Hi Tony,
Try returning a STRING. Should do the job!
Stace
-Original Message-
From: Tony Weeg [mailto:tony;navtrak.net]
Sent: Tuesday, October 29, 2002 11:27 PM
To: CF-Talk
Subject: cfc question
returntype=struct
what should i put in place of struct, if what i want
to return back to
returntype=xml
Matt Liotta
President CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901
-Original Message-
From: Tony Weeg [mailto:tony;navtrak.net]
Sent: Tuesday, October 29, 2002 11:27 PM
To: CF-Talk
Subject: cfc question
returntype=struct
what
Except that the documentation doesn't include a complete list.
Matt Liotta
President CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901
-Original Message-
From: Tony Weeg [mailto:tony;navtrak.net]
Sent: Tuesday, October 29, 2002 11:19 PM
To: CF-Talk
101 - 106 of 106 matches
Mail list logo