dakoz
Programmer
- Feb 2, 2002
- 74
hi all,
i have the following problem : i want to make a list in html using a simple form. i take dynamically the fields in the <option> using the following code :
<SELECT class=price size=15 multiple name=list1>
<%
IF Session("CubeName"
<>"" THEN
For di = 0 To cdf.Dimensions.Count - 1
Response.Write "<option value="& cdf.Dimensions(di).Name &">"& cdf.Dimensions(di).Name &"</option>"
IF cdf.Dimensions(di).Name=Request.form("dimension"
then
hi=di
END IF
NEXT
END IF
%></SELECT>
the problem is the following : the form is generated ok. It seems that all is good, but at the <option value=...>
if i have a field for example "Story Type" takes as value only the Store and leaves the Type!!
any Suggestions??
i have the following problem : i want to make a list in html using a simple form. i take dynamically the fields in the <option> using the following code :
<SELECT class=price size=15 multiple name=list1>
<%
IF Session("CubeName"
For di = 0 To cdf.Dimensions.Count - 1
Response.Write "<option value="& cdf.Dimensions(di).Name &">"& cdf.Dimensions(di).Name &"</option>"
IF cdf.Dimensions(di).Name=Request.form("dimension"
hi=di
END IF
NEXT
END IF
%></SELECT>
the problem is the following : the form is generated ok. It seems that all is good, but at the <option value=...>
if i have a field for example "Story Type" takes as value only the Store and leaves the Type!!
any Suggestions??