Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need to convert dbf to html
Message
 
To
06/04/2017 10:58:08
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01649884
Message ID:
01649889
Views:
52
>>Can anyone suggest a simple way of converting a dbf to html
>>I need to be able to run it as an unattended scheduled service every night
>
>foxpro exe run by windows scheduled task
>
>cFile = 'some address'
>strtofile('', m.cFile)
>use table
>scan
>  strtofile('<tag>' + trim(table.field) + '</tag>' + … + CRLF, m.cFile, 1)
>endscan
>
THe program needs to convert a table called t:\stock\atest.dbf into a file J:\Global\atest.htm; Atest has 6 fields

I dont know how to use thestrtofile - is there anyway you could show me how to code this conversion?

Thanks very much
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Reply
Map
View

Click here to load this message in the networking platform