Hi
I have the following script which is selecting distinct manufacturers from a Access Database.
The problem is, as a couple of the manufactureres are about 60/70 characters long, the list box created is huge! I want it to be a fixed width size, wrapping the text if needbe or even missing some of the text off (as long as they can see the first 30 characters or so I'm happy)
code is below
Any help much appreciated
Response.write "<select name = 'Manufacturer'>"
Response.write "<option value="""">Click to select a manufacturer</option>"
Set myRS1 = Server.CreateObject("ADODB.Recordset"
myRS1.Open "SELECT distinct maufacturer from asbestos", myConn
While not myRS1.EOF
manu = myRS1("maufacturer"
Response.write "<option value= '" & manu & "'>"
response.write manu & "</option>"
myRS1.movenext
wend
response.write "</select>"
I have the following script which is selecting distinct manufacturers from a Access Database.
The problem is, as a couple of the manufactureres are about 60/70 characters long, the list box created is huge! I want it to be a fixed width size, wrapping the text if needbe or even missing some of the text off (as long as they can see the first 30 characters or so I'm happy)
code is below
Any help much appreciated
Response.write "<select name = 'Manufacturer'>"
Response.write "<option value="""">Click to select a manufacturer</option>"
Set myRS1 = Server.CreateObject("ADODB.Recordset"
myRS1.Open "SELECT distinct maufacturer from asbestos", myConn
While not myRS1.EOF
manu = myRS1("maufacturer"
Response.write "<option value= '" & manu & "'>"
response.write manu & "</option>"
myRS1.movenext
wend
response.write "</select>"