Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need to convert dbf to html
Message
From
07/04/2017 03:53:44
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01649884
Message ID:
01649927
Views:
49
Likes (1)
>>>Any chance of an answer to my earlier reply to you asking for more help?
>>
>>Hi Colin,
>>
>>The VFP help is undoubtedly a much better place than my services to get you started with strToFile().
>>
>>I'll be happy to help you further once you've setup some code and completed some testing.
>>
>>just do it!
>
>I just need an example of code then I can take it from there

Question: did you read the messages I sent to you? I have a strong feeling that you think that this is difficult, while it's extremely easy.

If the structure of data is fixed, the easiest is to create a report, and use VFP's built in solution to format the report output as HTML.

If it's not fixed, you can create a simple program which takes the data from your tables, field by field, and adds the html formatting markup necessary to make it look the way you like. HTML is text with only a few added markup "tags" to format the text.

If you want the HTML to show the data similar to a Browse, you need to add the necessary Table tags, look here for details: https://www.w3schools.com/html/html_tables.asp

Writing HTML is almost as easy as riding a bicycle. But you must dare to lift your feet from the ground. :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform