I am trying to use
the isdefined function to determine with a variable within an array exists. The
code is in bedded within the cfloop with index=I
when using the
syntax in line 60 below the following error message occurs
wondering what is
the correct syntax in order to be able to determine whether specific variables
within the are defined.
I look forward to
your input
Parameter 1 of function IsDefined, which is now "aTDWDoc.atdw_data_results.product_distribution[i].product_record.max_star_rating.XmlText", must be a syntactically valid variable name. | |
| The error occurred in
D:\inetpub\webhost\4301\www\aus\ATDW\query_products_26_01_04.cfm: line
60 | |
60 : <cfif isdefined('aTDWDoc.atdw_data_results.product_distribution[i].product_record.max_star_rating.XmlText')>
61 : <cfset prodn = QuerySetCell(myquery, "star_rating", aTDWDoc.atdw_data_results.product_distribution[i].product_record.max_star_rating.XmlText, i)>
62 : </cfif>
| |
Kind Regards
Claude
Raiola (Director)
AustralianAccommodation.com Pty. Ltd.
Mobile: 0414 228
948
Fax: 07 3319 6444
Websites:
www.AustralianAccommodation.com
www.AccommodationNewZealand.com
www.HospitalityPurchasing.net
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004
