>Hi
>
>after running a query I can use save as to save the output as an html page. How can I automate this in an application
>
>
You can use the same program that VFP usess in Save As - GENGTML
DO (Home() + "genhtml") WITH "myhtml.htm", "mytable", 0
Don't forget to include GENGTML.prg into your application.
Check also file #
9364.
--sb--