473,396 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Field only display half information.

kirubagari
158 100+
Hi Experts,

Im having problem where if i add value MY TESTING.
It only display MY only.Please refer attachment.what need to be done so that system will show full character when load ?

Expand|Select|Wrap|Line Numbers
  1. set rsfb = server.CreateObject("ADODB.RECORDSET")
  2. sql = "select ID,title,value,updateby,updatedate from EMPLOYEE where title='lotowner'"
  3. set rsct = cn.execute(sql)
  4. maxid = clng(rsct("ID"))
  5. While Not rsct.Eof
  6.  
  7.  
  8.     'response.write "<tr><td align=center><img border=0 src=images/delete.gif alt=Delete onmouseover=this.style.cursor='hand' onmouseout=this.style.cursor='default' onclick=getcell('d','" & rsct("ID") & "','" & rsct("VALUE") & "');>"
  9.       'response.write "<tr><td align=center><lotowner_" & rsct("ID") & " value=" & rsct("VALUE") & " size=20 style=text-align:left>"
  10.       response.write "<tr><td align=center><input id=lotowner_" & rsct("ID") & " value=" & rsct("VALUE") & " size=20 style=text-align:left>"
  11.      'response.write "<td align=center><input id=lotowner_" & rsct("ID") & " " & rsct("VALUE") & ""
  12.       response.write "<td>" & rsct("UPDATEBY")
  13.       response.write "<td>" & rsct("UPDATEDATE")
  14.       response.write "<td align=center><img border=0 src=images/delete.gif alt=Delete onmouseover=this.style.cursor='hand' onmouseout=this.style.cursor='default' onclick=getcell('d','" & rsct("ID") & "','" & rsct("VALUE") & "');>"
  15.      if clng(rsct("ID")) > maxid then maxid = clng(rsct("ID"))
  16.      'response.write ">>" & maxid
  17.       rsct.MoveNext
  18. Wend
  19. rsct.Close
  20. Set rsct = Nothing
  21. end sub
  22.  
  23.  
Attached Images
File Type: jpg attachment.jpg (31.2 KB, 163 views)
Aug 15 '12 #1
4 2088
Rabbit
12,516 Expert Mod 8TB
Put quotes around your value. In HTML form elements, if the value has spaces, it needs to be enclosed in quotes.
Aug 15 '12 #2
kirubagari
158 100+
Hi,
Put quotes in between as below.Apperciate if you can show me

Expand|Select|Wrap|Line Numbers
  1.     response.write "<tr><td align=center><input id=lotowner_" & rsct("ID") & "&value&=" & rsct("VALUE") & " size=20 style=text-align:left>"
Aug 16 '12 #3
Rabbit
12,516 Expert Mod 8TB
If I want an input box with a value with spaces, I would do this:
Expand|Select|Wrap|Line Numbers
  1. <input value="i want a space">
Notice the quotes around the value.
Aug 16 '12 #4
kirubagari
158 100+
Hi,
Its works.Thanks.
Aug 16 '12 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Omer Ahmad | last post by:
Hi All, I've been working with python for about 6 months now, and have been very impressed with the size and scope of the libraries. I have, however, run into a bit of a problem. I...
2
by: pothik05 | last post by:
Hi: I have created a custom Attribute for the assembly and lets call it AssemblyAbc. I want it to be displayed with the other Assembly Information. If you right click the dll, click Properties...
2
by: Irwinsp | last post by:
Hi All, I have a form with an auto number field displayed. The field looks great except when the user is entering a new record. The field then has the text "auto number" in it. Is there a...
1
by: jm001 | last post by:
Hi, I am creating a database that will hold contact information plus additional information on different tables. ID on contact will auto assign. I want to have the system prompt for ID and...
2
by: Stephen | last post by:
Hi, Suppose there is a column in the dataset that is a very large field (say varchar(500)) and i want to display partial information with (....) so that the user can click on it to view for...
2
by: indhu | last post by:
hi, i have a list box in my form, when i click listbox field it should display corresponding value to other textbox fields. like listbox, these are the corresponding text flds person by...
1
by: Benny Ng | last post by:
Dear All, Now I met one problem in the development of my one application. I have one ASP.NET page. It's for disply the information of customer. But now I have one new requirement. It's to...
1
by: sudermatt | last post by:
This one is completely baffling. DB Enviornment: MSSQL database Code Environment: ASP / VBscript (obviously) Problem: data from an nText field disappears from conn.execute(sql) recordset. ...
6
by: itishree priyadarsini | last post by:
sql query to display half employee name in upper case & other half in lower case
1
by: stepup | last post by:
I am making a program for a train ticket. I have done it up until the program needs to display the completed ticket. The completed ticket has the following: BOARDED AT Stop no. _____ Stop...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.