Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GenHTML
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00812526
Message ID:
00815991
Views:
16
I am good! Thank you.

What you can do is a template where you have a replace string where you like to place the list of information. In your code you do:
lcHtml = filetostr("MyTemplate")
select MyDataResult
lnCompteur=0
scan
   lnCompteur=lnCompteur+1
   lcHtml=lcHtml+'<TR>'
   lcHtml=lcHtml+'<TD ALIGN=RIGHT>'+ALLTRIM(STR(lnCompteur))+'.'
   lcHtml=lcHtml+'<TD>'+ALLTRIM(MyDataResult.column1)
   lcHtml=lcHtml+'<TD>'+ALLTRIM(MyDataResult.column2)
   ...
endscan
strtofile(lcHtml,Result.htm)
>Hey J-R!!!
>How are u?
>
>I want to post the results of the search on the web.
Previous
Reply
Map
View

Click here to load this message in the networking platform