View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
Hi,
Currently i am using FoxWeb 2.19C.I am having problem in retrieving value from a field using formfield function. The value has space in between, for example, AOL-1837-01 REV B. Whenever i retrieve the value using formfield function, it shows only AOL-1837-01 and truncated REV B.
Below is my code and appreciate if someone could help me.
 
FROM .PRG - Below is how i tried to retrieve the value from partno field
part_no = padr(allt(upper(allt(formfield("partno")))),25,' ')
 
 
FROM HTML - To Display part_no But it truncated "REV B"
<input type="hidden" name="partno" value=<<part_no>>>
<table border=0 cellpadding=0 cellspacing=0 bgcolor="#99cccc" width="95%">
   <tr>
       <td nowrap><b>Part Number.</b></td>
       <td colspan="2"><<part_no>></td>
   </tr>
   <tr>
       <td>&nbsp</td>
   </tr>
   </tr>
       <td><<opt_add_new>></td>
       <td><input type='submit' name='boption' value='    Cancel   '></td>
   </tr>
   <tr>
       <td>&nbsp</td>
 
Thanks in advance.
Regards,
Dexter