Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generate web page with VFP 7.0
Message
 
To
31/07/2003 06:52:14
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00815305
Message ID:
00815331
Views:
14
This is one of the many problems of designing HTML in code. Most of us that have been doing this for a while create HTML templates with .vfp. variables embedded that are evaluated at runtime. Using a tool like FrontPage or Dreamweaver makes creating decent looking HTML a snap. It's also very easy to test.
For your specific problem, I would create exactly what you want to see in Frontpage or whatever HTML editor you use. Once it's the way you want to see it, paste that HTML into your .vfp. code. You may have to do a few rounds of this before it works right...
>I'm designing a VFP 7.0 application on WEB using foxisapi.dll.I want to modify the data via web and I introduced in each cell of one table a text box who have initial value from a cursor.My problems are:
>1.the text box is smallest than the cell and if I try to modify size in the web page is constant
>2the data return in text box from cursor are truncate from a first space
>
>I used this sintax:
>SELECT c1
>scan
>text_html=text_html+[<tr>]+CR+;
>	  [<td width="20%"><input type="text" name="T"+str(i+1)+[ size="30" value=]+c1.nume+[></td>]+;
>      [<td width="20%"><input type="text" name="T"+str(i+2)+[ size="30" value=]+c1.numea+[></td>]+;
>      [<td width="20%"><input type="text" name="T"+str(i+3)+[ size="30" value=]+c1.localitate+[></td>]+;
>      [<td width="20%"><input type="text" name="T"+str(i+4)+[ size="30" value=]+c1.telefon+[></td>]+;
>      [<td width="20%"><input type="text" name="T"+str(i+5)+[ size="30" value=]+c1.tipmagazin+[></td></tr>]+CR
>
>i=i+5
>ENDSCAN
>
>Can anybody help me?
>Thank you
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform