Thank you Razzak.

Claudine 



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of A. Razzak
Memon
Sent: Wednesday, April 30, 2008 6:08 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: 2008 SAT Applications - Saving SearchResults

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.


Reply via email to