Jump to content

Recommended Posts

Posted

I am running the following the code out of App Studio in release 8207:

TABLE FILE CAR
PRINT CAR 
BY    COUNTRY
ON TABLE PCHOLD FORMAT XLSX
ON TABLE SET STYLE *
TYPE=PAGEHEADER, OBJECT=IMAGE, JUSTIFY=LEFT, IMAGE=format_ahtml_32.png, $ 
ENDSTYLE
END

After EXecution, and upon the download via Chrome, and opening the download, the workbook opens in MS Excel 'Page Layout' view:

image.png.395831694545f6e87f2aa97a83b9bcf9.png

Is there any setting or technique that would make the workbook open in 'Normal' view?  (Other than removing the image from the page header that is.  🙂)  

Posted

Took another look at this requirement, and discovered that I could assign the image to the HEADING, and have the report look the same, and have it open in 'Normal' view:  

 

TABLE FILE CAR
HEADING
" "
" "
" "
PRINT CAR 
BY    COUNTRY
ON TABLE PCHOLD FORMAT XLSX
ON TABLE SET STYLE *
-*TYPE=PAGEHEADER, OBJECT=IMAGE, JUSTIFY=LEFT, IMAGE=format_ahtml_32.png, $ 
TYPE=HEADING, JUSTIFY=LEFT, IMAGE=format_ahtml_32.png, $ 
ENDSTYLE
END

image.png

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...