Sometimes life is so obvious it sneaks
up on you.
For easy artsy pages that do not have
content which is dynamic in its number of instances, such as a list
of "everyone who showed for the last meeting", consider the
following:
1 - Design your page with Frontpage or
the HTML page editor of your choice and save the file.
2 - In your code do this.
function MY_PAGE( oHtml, oContext
)
LOCAL
cString := memoread( "MY_FRONTPAGE.HTM" )
oHtml:put(
cString )
return (.T.)
You can also do a search and replace on
any values you have for form inputs with dynamic data pulled from
your dbfs by:
cString := strtran( cString,
"XXX_LAST_NAME", cLastName )
Bottom line, do all of the heavy
formatting work in an editor that facilitates this action.
If this is what everyone else has been
doing, I feel so dumb.
Bruce Anderson