This content has been marked as final. Show 6 replies
Try using ContactQuery.Results instead of ContactQuery. Though it is not clear whether "Results" is a structure or a query object.
Thanks for the quick reply.
<cfloop collection="#ContactQuery.Results#" item="i">
Yields and error. I did try that first, since it made sense to me that it should work. However it does not. Not real sure why. Maybe you are onto something when you mentioned you were unsure if it was a structure or a query object.
Can you dump the Results object? The test page just shows an error "Variable USERNAME is undefined"
Oh Sorry about that.
I set the username and pass in an application.cfm in another dir. Copied it over to that dirs application.cfm. You should be able to run it now.
It looks like it is query. Did you try a regular query loop?
Nope. I am dumb and didn't really think about it. The fact that it is a query nested in a structure threw me off. The code that works was
Thanks for the help, sorry about that dumb question.