Paradox Community

Items in pnews.paradox-web

Subject:Re: Here's one for you
Date:Wed, 29 Jun 2016 19:22:31 -0400
From:Jim Moseley <jim@mapson.triptracker.com>
Newsgroups:pnews.paradox-web
JI,

The space is breaking the field.  Put quote marks around it, as in:

<INPUT TYPE=TEXT  NAME=RepName SIZE=50 VALUE='"     +
 > tcReps.RepName  + "' >

Notice after VALUE= and before final > tick marks have been added.

HTH,
Jim Moseley

On 6/29/2016 6:52 PM, JI wrote:
> Here's some code that is supposed to fill a field with the contents of
> the database...
>
> "<P ALIGN=LEFT><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
> nbsp;Name:  </B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;
>     <INPUT TYPE=TEXT  NAME=RepName SIZE=50 VALUE="     +
> tcReps.RepName  + " ></P>
>
> The only thing returned is the first part of any field in the table.
>
> For example, if the Repname is John Jones, I get John only.
>


Copyright © 2004 thedbcommunity.com