ThatRickGuy
Programmer
Hi Guys,
I have an GUI with some highly specific search settings. The users can specifically select which elements they want to see (for instance, show me all of the data related to Elements 1, 2, 5 and 15.) The elements they are selecting are dynamic and change based on which set of data they are looking at. I can get the keys for those elements and pass them into a package, but I'd really prefer to pass them in as an array.
I could create a load of parameters and just pass them in individually and default the unused ones, but I'm looking at 40+ possible elements in some cases (and the search's complexity builds as there are 5 different sets of elements they can select in this way).
I could also create a string that contains a delimited list of values, but this seems like an overly complex way to get an array of IDs.
If I could take an array as a parameter, and cram it into a temp table, I think that would work well as I could just join my query onto that temp table. But my lack of Oracle knowledge is giving me a hard time on this one.
I poked around on Tom's for a while, but everything he talks about there seems to focus on Java and binding, which doesn't help me much as I'm using VB.Net for my front end and DAL.
Any help would be appreciated. Thanks!
-Rick
VB.Net Forum forum796 forum855 ASP.NET Forum
I believe in killer coding ninja monkeys.
I have an GUI with some highly specific search settings. The users can specifically select which elements they want to see (for instance, show me all of the data related to Elements 1, 2, 5 and 15.) The elements they are selecting are dynamic and change based on which set of data they are looking at. I can get the keys for those elements and pass them into a package, but I'd really prefer to pass them in as an array.
I could create a load of parameters and just pass them in individually and default the unused ones, but I'm looking at 40+ possible elements in some cases (and the search's complexity builds as there are 5 different sets of elements they can select in this way).
I could also create a string that contains a delimited list of values, but this seems like an overly complex way to get an array of IDs.
If I could take an array as a parameter, and cram it into a temp table, I think that would work well as I could just join my query onto that temp table. But my lack of Oracle knowledge is giving me a hard time on this one.
I poked around on Tom's for a while, but everything he talks about there seems to focus on Java and binding, which doesn't help me much as I'm using VB.Net for my front end and DAL.
Any help would be appreciated. Thanks!
-Rick
VB.Net Forum forum796 forum855 ASP.NET Forum
I believe in killer coding ninja monkeys.