This content has been marked as final. Show 5 replies
It's convoluted but possible. Where did the array come from in the first place?
Here's a simple schema :
1. query from flex to coldfusion
2. cf return array to flex
3. from flex I send the array to cf in order to make some calcuations (that's where I need to "query" the array)
4. new array returned by cf to flex
the idea is that I make a query on the server A (sql server) that returns all the infos I need
then I send those infos to the server B (coldfusion) to avoid using server A ...
do you know what I mean ?
> I have an array like this :
That looks like an array of structs rather than simply an array. Arrays
can have only numeric indices.
You could loop over whatever data structure it is and populate a query.
Then you could QoQ the query.
What Adam said is correct, but not the only way to do it. If you are going to loop through the array anyhow, you could add some if/else code to get your answer.