<CFDUMP> was far more limited in CF5, and not all scopes variables and data types were dumpable.
--- Ben -----Original Message----- From: Rod Murillo [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 2:17 PM To: CF-Talk Subject: Re: help - trying to port some ASP/COM code to CF 5 CFDUMP says: Expression result cannot be converted to a string Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. must evaluate to a value that can be converted to a string for output or dynamic text accumulation purposes. Complex objects, such as queries, arrays, and COM/DCOM objects, cannot be represented as strings. >I think you gotta do what someone else suggested... Call a CFDUmp on >the Trans object: > ><cfdump var="#trans#" /> > >This will help you figure out what the Fields object is. Do that and >then let us know what you see. > >-Ben > >..................... >Ben Nadel >Certified Advanced ColdFusion Developer www.bennadel.com > > >-----Original Message----- >From: Rod Murillo [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 11, 2006 1:55 PM >To: CF-Talk >Subject: Re: help - trying to port some ASP/COM code to CF 5 > >No its not an array - so it throws this error: > >trans.Type = "CC.Authorize"; >trans.Field["MessageType"] = "A"; >Error near line 44, column 13. >----------------------------------------------------------------------- >- >-------- > >The [] operator can only be applied to an indexed object. The provided >object "trans.Field" is not indexed in dimension 1. In ColdFusion >indexed objects can be query columns, arrays, structs and COM objects. > > >Any other ideas? > >class="Paymentech. >4? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256409 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4