[thelist] ASP question: the string is too long for the pulldown menu
P. Z.
thelist at lists.evolt.org
Tue Feb 5 15:19:03 2002
[ Converted text/html to text/plain ]
Hi everyone!
I tried but I couldn't find the answer in the archive. So here is the
question:
I am working on an ASP page. The database is Access. I pulled out all the
keywords from the database and put them into a pull-down menu, which are al=
l
the keywords for some projects. Some of the strings are really long (don't =
ask
me why the keywords are so long), they are longer than my table width (I ca=
n't
change the design at this stage). So I used "Left(rs("keyword"),80)" funct=
ion
to cut the string. But I have a problem here: I don't want the last word t=
o
be cut in half. What I like is that the user should be able to see the
complete last word such as "policy" instead of "poli". I know I can search
for the nearest space after position 80, but is there any other way to hand=
le
this? Any suggestions? How do you set the width of a pull-down menu? Can
you?
Thank you for any help.
Z.P.
---------------------------------------------------------------------------=
---
=CF=ED=D3=C3=CA=C0=BD=E7=C9=CF=D7=EE=B4=F3=B5=C4 Web =B5=E7=D7=D3=D3=CA=BC=
=FE=CF=B5=CD=B3 =A1=AA=A1=AA MSN Hotmail=A1=A3=C7=EB=C4=FA=B5=A5=BB=F7=B4=
=CB=B4=A6[1]
=3D=3D=3DReferences:=3D=3D=3D
1. http://go.msn.com/bql/hmtag2_etl_CN.asp