Recordset Data not displaying

Results 1 to 2 of 2

Thread: Recordset Data not displaying

  1. #1
    Join Date
    Dec 1969

    Default Recordset Data not displaying

    My address and phone number fields when displayed on my asp page are not showing any data after a space(i.e. the address 555 Main St. is only showing 555 in the text box).<BR><BR>Any idea why this is occuring? I response.write out the variable I put the recordset field into and it&#039;s showing it ok there; just when I put the info into the text boxes it wont show. Anything after the space is gone.<BR><BR>Here is an example.<BR><BR>if not (objRS.eof and objRS.bof) then <BR> Address = objRS("Address")<BR> response.write(Address) //this equals 555 Main St. when run<BR>end if<BR><BR>then inside asp page<BR><BR>&#060;%=Address%&#062; = 555 in the text box instead of full address<BR><BR>Any idea why it&#039;s being concatenated?

  2. #2
    Join Date
    Dec 1969

    Default RE: Recordset Data not displaying

    You should use bouble quotes around values in a text box,<BR><BR>&#060;input type="text" name="address" value="&#060;%=Address%&#062;"&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts