>I have already created foxpro report and I have 2 command buttons on the form, one is for preview and other is print. I let user preview the report but is it possible to save the report user is previewing into HTML file ?
You have several options here. I will name two:
Create HTML code through your program. Open with default browser (see FAQ #8134).
Download Frx2Word, from the UT Download section. This one can create Word and HTML documents from the report.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)