T
Targa
Im using the following If statement to display a textbox containing the
company name if the client is listed as Commercial.
<% If rs("Client_Type") = "Commercial" then response.write
"<input type='textbox' name='Company' size='30' value=" & rs("CompanyName")
& "><BR>" End If %>
The problem is it cuts off the company name data if there is more than one
word in the name.
If the company name is "Some Company", this will display "Some"
but "<input type="textbox" value="<% = rs("CompanyName") %>"> displays fine
as "Some Company"
What am I doing wrong here?
Thanks!
company name if the client is listed as Commercial.
<% If rs("Client_Type") = "Commercial" then response.write
"<input type='textbox' name='Company' size='30' value=" & rs("CompanyName")
& "><BR>" End If %>
The problem is it cuts off the company name data if there is more than one
word in the name.
If the company name is "Some Company", this will display "Some"
but "<input type="textbox" value="<% = rs("CompanyName") %>"> displays fine
as "Some Company"
What am I doing wrong here?
Thanks!