why can't i use a combobox selected item with a question event?
i constructed the question event to fire whenever the user chooses an item from a combobox. and this works....it does fire off a postback event. but i can NOT use the selected item in a sql statement to populate another field.
for example....
this doesn't work:
SELECT [ProductID] AS DefaultValue
FROM [Fruits].[dbo].[aspdnsf_Product]
where Name = $(ProductList_Text)
and this doesn't work:
SELECT [Name] AS DefaultValue
FROM [Fruits].[dbo].[aspdnsf_Product]
where ProductID = $(ProductList)
and this doesn't work either:
SELECT [Name] AS DefaultValue
FROM [Fruits].[dbo].[aspdnsf_Product]
where ProductID = '$(ProductList)'
but THIS works:
SELECT [ProductID] AS DefaultValue
FROM [Fruits].[dbo].[aspdnsf_Product]
where Name = 'Apples'
which tells me that i can NOT access the selected item in the combobox even though the manual says that accessing combobox items is accomplished like this:
"Tokens that include the _Text property such as $(ComboBox_Text)..." - (bottom of page 180 of the users manual)