[thelist] ASP question: the string is too long for the pulldown menu
P. Z.
thelist at lists.evolt.org
Tue Feb 5 15:16:00 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 pulldown menu, which are all
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 pulldown menu? Can y=
ou?
Thank you for any help.
Z.P.
---------------------------------------------------------------------------=
---
=C3=E2=B7=D1=CF=C2=D4=D8 MSN Explorer=A3=BAhttp://explorer.msn.com/lccn/int=
l.asp[1]=A1=A3
=3D=3D=3DReferences:=3D=3D=3D
1. http://go.msn.com/bql/hmtag_etl_CN.asp