Kbase P17506: How to Dynamically create an Excel file in a browser via web
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  25/11/2003 |
|
Status: Unverified
GOAL:
How to Dynamically create an Excel file in a browser via webspeed.
FACT(s) (Environment):
WebSpeed 3.x
FIX:
Sample .p
-------------------------------------------------------------------------------
{src/web/method/wrap-cgi.i}
output-content-type("application/x-msexcel").
OUTPUT THROUGH {&WEBSTREAM}.
{&OUT} "Item Number" CHR(9) "Item Name" CHR(9) "QTY ON-Hand" CHR(9) "QTY On Order" CHR(13).
FOR EACH ITEM:
{&OUT} Item.Itemnum CHR(9) ITEMNAME CHR(9) Item.Onhand Item.OnOrder CHR(13).
END.