I have a situation where it would be very convenient to bring in a third column to the data set for an existing drop down list. I added the 3rd column to the bound query and I have no problem getting the value I need with the following script.
What exactly do you want to do and what column do you want to select. You can view all the columns in your dataset by selecting ‘dropdown_display’ property in your designer screen for the drop down.
What exactly do you want to do and what column do you want to select. You can view all the columns in your dataset by selecting ‘dropdown_display’ property in your designer screen for the drop down.
Francisco[/quote]
I want to use a 3rd column. I have it in place and it is working.
I was just wanting to hear if anyone else has done this and could tell me if it is a bad idea or not.
Something along the lines of either “Yes I’ve done the same thing and never had a problem” or “You could do that but here’s the problem with it.”
I suspect I will have no problems but I am using the control in a way that it was not intended to be used.
There shouldn’t be any issue although looking at the sample script you are providing I would consider checking if the index is a valid index and if not what do you want to do.
I took a quick scan through the code, and it looks like all we care about is the first one or two columns. I don’t see anything that would break if you have more than two columns – we just ignore the extras.