Bernie,

Send me provatly the html file attached to an e-mail.  [EMAIL PROTECTED]

This will work in any version of R:base going back to maybee 2.1
Change the [ brackets to < brackets.

out t.html
write '[html>'
write '[body>'
write '[table>'
write '[TH>'
write '[td width=100>Number[/td> [td width=200>Make[/td>[/TH>'
set lines 0, set headings off
select '[tr>[td>', number, '[/td> [td>', make, '[/td>[/tr>' from cars order 
by number
write '[/table>'
out screen

Troy


===== Original Message from [EMAIL PROTECTED] at 3/22/02 12:58 am
>Troy -
>
>        Thanks for the response but it isn't relevant.  That's exactly what
>I did.  To repeat: "Everything is there but it isn't formatted properly."
>There seem to be no end of line markers or whatever tells the browser to
>skip to the next display line in the html file.  Is there something I can do
>to make the display look right.  For example I get:
>
>NumberMake1Ford2Chevrolet3Dodge
>
>instead of:
>
> Number   Make
>    1     Ford
>    2     Chevrolet
>    3     Dodge
>
>I've seen this feature demonstrated and the browser displayed nicely
>formatted information.  I'm having this problem with both Windows and DOS.
>
>Bernie
>
>========================================
>At 09:37 PM 3/21/2002 -0700, you wrote:
>>In the windows version, just use
>>
>>Launch file.htm
>>
>>and then windows should start your default browser and pull up your file.
>>
>>Troy
>>
>>
>>>===== Original Message From [EMAIL PROTECTED] =====
>>>Troy -
>>>
>>>        I just tried this in RBW 1.851 and it doesn't work very well.
>>>Everything is there but it isn't formatted properly.
>>>
>>>        Under RBD 1.850 and W2K the command ZIP COMMAND /C START file.htm
>>>comes up with a "Bad command or file name" error message.  Under W2K one
>>>should use ZIP CMD /C START file.htm.  Once again the information is all
>>>there but the presentation format is confused.
>>>
>>>Bernie
>>>
>>>
>>>At 03:48 PM 3/21/2002 -0700, you wrote:
>>>>ok, I did a little testing, and this is about the easiest way to generat an
>>>>html report and pull it up in a browser window.  This code works for R:base
>>>>for DOS on Win 98.  The zip command will need to be tweeked a little
>>>>depending on what OS you have.  If you are using RBwin, you could just use
>>>>LAUNCH t.htm instead.
>>>>
>>>>out t.htm
>>>>select * from tablename HTML
>>>>out screen
>>>>
>>>>zip command /c start t.htm
>>>>
>>>>Troy
>>>>
>>>>================================================
>>>>TO SEE MESSAGE POSTING GUIDELINES:
>>>>Send a plain text email to [EMAIL PROTECTED]
>>>>In the message body, put just two words: INTRO rbase-l
>>>>================================================
>>>>TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
>>>>In the message body, put just two words: UNSUBSCRIBE rbase-l
>>>>================================================
>>>>TO SEARCH ARCHIVES:
>>>>http://www.mail-archive.com/rbase-l%40sonetmail.com/
>>>>
>>>
>>>================================================
>>>TO SEE MESSAGE POSTING GUIDELINES:
>>>Send a plain text email to [EMAIL PROTECTED]
>>>In the message body, put just two words: INTRO rbase-l
>>>================================================
>>>TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
>>>In the message body, put just two words: UNSUBSCRIBE rbase-l
>>>================================================
>>>TO SEARCH ARCHIVES:
>>>http://www.mail-archive.com/rbase-l%40sonetmail.com/
>>
>>Troy Sosamon
>>Denver Co
>>[EMAIL PROTECTED]
>>
>>================================================
>>TO SEE MESSAGE POSTING GUIDELINES:
>>Send a plain text email to [EMAIL PROTECTED]
>>In the message body, put just two words: INTRO rbase-l
>>================================================
>>TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
>>In the message body, put just two words: UNSUBSCRIBE rbase-l
>>================================================
>>TO SEARCH ARCHIVES:
>>http://www.mail-archive.com/rbase-l%40sonetmail.com/
>>
>
>================================================
>TO SEE MESSAGE POSTING GUIDELINES:
>Send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: INTRO rbase-l
>================================================
>TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: UNSUBSCRIBE rbase-l
>================================================
>TO SEARCH ARCHIVES:
>http://www.mail-archive.com/rbase-l%40sonetmail.com/

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to