This content has been marked as final. Show 4 replies
Is there something preventing you from returning an array of queries?
Thanks for your response. I'm not sure how to do an Array of queries. I have never done something like that before. Can you please advice? My parser will give me queries like "MyQuery1", "MyQuery2", "MyQuery3",...,"MyQueryN". How do I make this to an array?
Any help is gretly appreciated.
Many thanks / Manu.
The easiest way, provided that you're only concerned with getting the queries returned, might look like example 1 below. If you need to have some understanding of which query is in which location, I would use a structure to contain the queries like in example 2. Obviously these are simple examples. You may need to make accomodation for things like local scoping of variables, use in loops, etc.
Wow! That works great! Thanks a lot for your input.
You are a star!
Cheers / Manu.