At 12:08 AM 4/30/2008, Claudine Robbins wrote:
Razzak,
No one has asked the obvious question. Perhaps there is an
equally obvious answer and I'm alone sitting in the dark. <g>
How do you output to an HTA file?
Claudine,
Here's is an simple example of creating HTA (HTML Application):
-- start here
CONNECT RRBYW14
SET WIDTH 140
SET LINES 0
SET EOFCHAR OFF
OUTPUT CustomerList.hta
-- Added Minimum Legal HTML Tags
WRITE '<HTML>'
WRITE '<BODY>'
-- the following must be <PRE> to display plain text output
WRITE '<PRE>'
SELECT CustID,Company,CustAddress,CustCity,CustState,CustZip +
FROM Customer ORDER BY Company
WRITE '</PRE>'
WRITE '</BODY>'
WRITE '</HTML>'
OUTPUT SCREEN
SET EOFCHAR ON
SET LINES 20
SET WIDTH 79
LAUNCH CustomerList.hta
RETURN
-- end here
Fore more examples and techniques:
2008 SAT Sample Applications: http://www.rupdates.com/sat2008/
Very Best R:egards,
Razzak.