PDA

Click to See Complete Forum and Search --> : Fast Q : help please


efrat
Mar 6th, 2001, 12:22 PM
I have this code

"<td>" & objRS("Scale") & "&nbsp;</td>" & _
"<td>" & objRs("Attribute Comments") & "&nbsp;</td>" & _
"<td>" & objRs("Low Limit") & "&nbsp;</td>" & _
"<td>" & objRs("Up Limit") & "&nbsp;</td>" & _
"</tr>"

I want to constant for every column

Any help
Thanks

Cander
Mar 6th, 2001, 12:35 PM
I dont understand. Please explain.

efrat
Mar 6th, 2001, 12:54 PM
Hi
I want to control of the column width
Thanks
efrat

Cander
Mar 6th, 2001, 12:56 PM
response.write "<td width='" & widthvariable & "'>"

Is that what you mean??

efrat
Mar 6th, 2001, 01:10 PM
Im checking.....efrat in process..:)

efrat
Mar 6th, 2001, 01:31 PM
"<td>" & objRS("Scale") & " </td>" & _
"<td>" & objRs("Attribute Comments") & " </td>" & _
"<td>" & objRs("Low Limit") & " </td>" & _
"<td>" & objRs("Up Limit") & " </td>" & _
"</tr>"

If this is my code how do i use it like lets try" scale "
Thanks

Cander
Mar 6th, 2001, 01:36 PM
response.write "<td width='" & widthvariable & "'>" & objRS("Scale") & " </td>"

efrat
Mar 6th, 2001, 01:44 PM
that what i did but have error :(

"<td>" & objRs("Entity") & "&nbsp;</td>" & _
"<td>" & objRs("Attribute Name") & "&nbsp;</td>" & _
"<td><input type='text' size='10' value='" & objRs("Value") & "'></td>" & _
"<td width='" & widthvariable & "'>" & objRS("Scale") & " </td>" & _
"<td>" & objRs("Attribute Comments") & "&nbsp;</td>" & _
"<td>" & objRs("Low Limit") & "&nbsp;</td>" & _
"<td>" & objRs("Up Limit") & "&nbsp;</td>" & _
"</tr>"
objrs.movenext

monte96
Mar 6th, 2001, 11:21 PM
You have to actually have a variable named 'widthvariable' that contains an integer that relates to how wide you want the TD to be. Or instead of 'widthvariable' you can do say,


"<td width=200>" & objRS("Scale") & "</td>"


as for your code you posted, you have double quotes and single quotes mixed and mis-matched.