Options

Report % view

sabzamsabzam Member Posts: 1,149
Dear All,

My client would like to retain a view of 120% in a report saved for every time that the report is previewed. Is it possible to retain this property?

Comments

  • Options
    Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    I do not think this is possible.
  • Options
    sabzamsabzam Member Posts: 1,149
    Ok, thanks.
  • Options
    mabl4367mabl4367 Member Posts: 143
    I have not tried this myself but I think you could use the An automation variable of type: 'Windows Script Host Object Model'.WshShell to send the appropriate keystrokes that the user would use to set the view to 120%.

    I have used this little trick to be able to force a report to be run only in preview mode.

    Like this:
    txtCmd := 'v';
    CREATE(WshShell);
    WshShell.SendKeys(STRSUBSTNO('%{%1}',txtCmd));
    CLEAR(WshShell);

    If you make the txtCmd variable a text constant you can get multilanguage support. 'v' when the language is set to US English.
Sign In or Register to comment.