CrystalReportViewer.Zoom() does not accept "special" values

Quoting SAP Crystal Reports .NET API Guide:
CrystalReportViewer.Zoom Method
Changes the magnification level of the CrystalReportViewer control.
public virtual void Zoom (
     int zoomFactor
Parameters
zoomFactor
Indicates the percentage at which to magnify the CrystalReportViewer.
Remarks
Use this method to change the zoom level of the CrystalReportViewer control. Use 1 to fit the entire width of the page (but not the entire page) or 2 to fit the entire page in the window.
(emphasis mine)
Actually, passing 1 or 2 to to Zoom() does not have the desired effect, since doing so results in the following error:
Specified argument was out of the range of valid values. Parameter name: Page zoom factor must be between 10 and 400.
My current configuration is:
- Crystal Reports for Visual Studio 2010 Support Pack 1;
- Internet Explorer 8 and 9.
Is there any workaround to activate the "fit page width" option? I could not find any answer on the Internet or here in SAP forums.
Thanks in advance!
Edited by: Silvio Moioli on Nov 10, 2011 12:23 PM

Hi  Silvio,
The 1 or 2 values are for the Windows Viewer only. Because it's a desktop viewer and it requires the default printer to scale the page it's easy to do. With a WEB app the page is rendered Server side and no way to get all of the users screen info.
I'll get the Document Guys to update the SDK help reference Guides to clearly state those 2 values are for a Desktop only value.
I'll see if Ludek can do a quick test also...
Don

Similar Messages

  • The report does not accept the value for apps.fnd_profile.value('USER_ID')

    Hi,
    I followed the below note and added a report to my SSHR menu.
    How To Add A Report To A 11i Self Service Menu [ID 334847.1]
    In my report , I have a condition in the query
    and a.created_by =apps.fnd_profile.value('USER_ID')
    When the report is submitted as a request , it works fine., however the same report when called from the self service page does not accept any value for apps.fnd_profile.value('USER_ID') .
    Is there a workaround to handle this problem.
    regards

    hi,
    I had already tried the option apps.fnd_global.USER_ID too.
    However it does not accept the value for apps.fnd_global.USER_ID.
    We want to call the reports in SSHR using oaf and at the same time the records that are pending for approval created by the employee should only be visible.
    regards
    Maya

  • Editable field in ALV does not accept negative sign values

    Hi guys,
    We have an editable field in ALV but it does not accept negative sign,,, it is causing an error... We need to input a negative value in that editable field...
    How to handle this?
    Thanks!

    Hi Mark,
      This topic has been just discussed at this thread:
    Problem with OO ALV
    Regards,
    Chandra Sekhar

  • Users receive "does not accept meetings longer than 1440 minutes" with MaximumDurationInMinutes set to 0

    Hi everyone,
    We are running on Exchange 2007.  I have a user who is attempting to book a meeting on a calendar and is receiving the error, "Your meeting request was declined. This resource does not accept meetings longer than 1440 minutes."  I know
    this is related to the "MaximumDurationInMinutes" property returned from Get-MailboxCalendarSettings in the Exchange Management Shell.  This value is currently set to 0, which I understand to mean unlimited.  The user did not experience
    this issue with other meetings and there are several meetings scheduled that exceed this limit.  I have included the results of "Get-MailboxCalendarSettings" and the email response (with some identifiable information removed) below.  Does
    anyone have any idea why this error might still be occurring and where it would pull the 1440 minute time limit from if it is not set? 
    AutomateProcessing : AutoAccept
    AllowConflicts : True
    BookingWindowInDays : 180
    MaximumDurationInMinutes : 0
    AllowRecurringMeetings : True
    EnforceSchedulingHorizon : True
    ScheduleOnlyDuringWorkHours : False
    ConflictPercentageAllowed : 0
    MaximumConflictInstances : 0
    ForwardRequestsToDelegates : True
    DeleteAttachments : True
    DeleteComments : True
    RemovePrivateProperty : True
    DeleteSubject : False
    DisableReminders : True
    AddOrganizerToSubject : False
    DeleteNonCalendarItems : True
    TentativePendingApproval : True
    EnableResponseDetails : True
    OrganizerInfo : True
    ResourceDelegates : {}
    RequestOutOfPolicy :
    AllRequestOutOfPolicy : False
    BookInPolicy : {domain.com/Core/Groups/Group}
    AllBookInPolicy : False
    RequestInPolicy :
    AllRequestInPolicy : False
    AddAdditionalResponse : False
    AdditionalResponse : <DIV><FONT size=2
    face=Tahoma></FONT></DIV>
    RemoveOldMeetingMessages : True
    AddNewRequestsTentatively : True
    ProcessExternalMeetingMessages : False
    DefaultReminderTime : 15
    RemoveForwardedMeetingNotifications : False
    Identity : domain.com/Enterprise/Service
    Accounts/Service Account
    IsValid : True
    ObjectState : Unchanged
    And the returned message:
    Message ID : <[email protected]>
    Sent Date : Thu, 2 Oct 2014 09:16:02 -0500
    From : [email protected]
    Sender MailID : [email protected]
    Reply To : [email protected]
    To : [email protected]
    Subject : Declined: Meeting
    ------------------------- Contents -------------------------
    BEGIN:VCALENDAR
    METHOD:REPLY
    PRODID:Microsoft Exchange Server 2007
    VERSION:2.0
    BEGIN:VTIMEZONE
    TZID:Central Standard Time
    BEGIN:STANDARD
    DTSTART:16010101T020000
    TZOFFSETFROM:-0500
    TZOFFSETTO:-0600
    RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:16010101T020000
    TZOFFSETFROM:-0600
    TZOFFSETTO:-0500
    RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=2SU;BYMONTH=3
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    ORGANIZER;CN=Sara Luckie:MAILTO:[email protected]
    ATTENDEE;PARTSTAT=DECLINED;CN=Calendar:MAILTO:[email protected]
    COMMENT;LANGUAGE=en-US:Your meeting request was declined.\n\nThis resource
    does not accept meetings longer than 1440 minutes.\n\n _____\n\nSent by Microsoft Exchange Server 2007\n
    SUMMARY;LANGUAGE=en-US:Declined: Meeting
    DTSTART;TZID=Central Standard Time:20141215T080000
    DTEND;TZID=Central Standard Time:20141219T173000
    UID:040000008200E00074C5B7101A82E00800000000E066FB5521DECF01000000000000000
    010000000D93B3AD93730E647B8C7A1B864C90BD3
    CLASS:PUBLIC
    PRIORITY:5
    DTSTAMP:20141002T141602Z
    TRANSP:OPAQUE
    STATUS:CONFIRMED
    SEQUENCE:1
    LOCATION;LANGUAGE=en-US:Online Meeting\, N
    Y
    X-MICROSOFT-CDO-APPT-SEQUENCE:1
    X-MICROSOFT-CDO-OWNERAPPTID:-784160802
    X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE
    X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
    X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
    X-MICROSOFT-CDO-IMPORTANCE:1
    X-MICROSOFT-CDO-INSTTYPE:0
    END:VEVENT
    END:VCALENDAR

    Hi Derek,
    I find related information as below:
    The default options allow all users to book resources if they are within the set policies (i.e. up to 180 days in the future, up to 1440 minutes in duration, etc.), and will reject all other meetings. In the context of resource mailboxes,
    InPolicy and OutOfPolicy simply mean whether or not the meeting invitation matches any restrictions enabled on the resource mailbox. For example
    MaximumDurationInMinutes value for the resource mailbox is 30 minutes, any meeting invitation longer than 30 minutes would be considered OutOfPolicy. Using the
    RequestOutOfPolicy parameter, you can manually add users that are allowed to request meetings that are not within the policy, and if you really want to lock things down, you can set the
    AllBookInPolicy value to False, and then manually add users to the
    BookInPolicy field, or more restrictive, to the
    RequestInPolicy field.
    More details to see:
    http://blogs.technet.com/b/exchange/archive/2007/05/14/3402515.aspx
    I suggest set the MaximumDurationInMinutes parameter to a big number. Find a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/exchange/en-US/63ea54a2-6f18-4ff3-9f4d-239342d97081/need-to-remove-the-1440-minute-24-hour-limit-booking-on-all-the-conference-rooms-to-be-unlimited?forum=exchangesvradminlegacy
    Thanks
    Mavis Huang
    TechNet Community Support

  • Imqobjmgr does not recognize the value of java.naming.provider.url property

    On Windows, I am running imqobjmgr 4.3
    when I run imqobjmgr -i list.properties, I am getting the following error
    Error [A3052]: imqobjmgr does not recognize the value of java.naming.provider.url property.
    Why is that?
    classpath
    C:\Sun\SDK\imq\lib\jms.jar;C:\Sun\SDK\imq\lib\imq.jar;C:\Sun\SDK\imq\lib\fsconte
    xt.jar;.
    contents of list.properties
    # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    # Copyright 2000-2008 Sun Microsystems, Inc. All rights reserved.
    # The contents of this file are subject to the terms of either the GNU
    # General Public License Version 2 only ("GPL") or the Common Development
    # and Distribution License ("CDDL") (collectively, the "License"). You may
    # not use this file except in compliance with the License. You can obtain
    # a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
    # or mq/legal/LICENSE.txt. See the License for the specific language
    # governing permissions and limitations under the License.
    # When distributing the software, include this License Header Notice in each
    # file and include the License file at mq/legal/LICENSE.txt. Sun designates
    # this particular file as subject to the "Classpath" exception as provided by
    # Sun in the GPL Version 2 section of the License file that accompanied this
    # code. If applicable, add the following below the License Header, with the
    # fields enclosed by brackets [] replaced by your own identifying information:
    # "Portions Copyrighted [year] [name of copyright owner]"
    # Contributor(s):
    # If you wish your version of this file to be governed by only the CDDL or
    # only the GPL Version 2, indicate your decision by adding "[Contributor]
    # elects to include this software in this distribution under the [CDDL or GPL
    # Version 2] license." If you don't indicate a single choice of license, a
    # recipient has the option to distribute your version of this file under
    # either the CDDL, the GPL Version 2 or to extend the choice of license to
    # its licensees as provided above. However, if you add GPL Version 2 code
    # and therefore, elected the GPL Version 2 license, then the option applies
    # only if the new code is made subject to such option by the copyright holder.
    # @(#)list.properties     1.11 07/02/07
    # This property file will list administered objects
    # Version of command file
    # NOTE: This is not the version of the Sun Java(tm) System Message Queue product
    version=2.0
    cmdtype=list
    # If you want to only list a particular type of administered
    # object, uncomment the following line and specify the type.
    # Acceptable values for the type property are: t, q, tf, and qf,
    # where t = topic, q = queue, tf = topic connection factory, and
    # qf = queue connection factory.
    #obj.type=
    # To use the LDAP service provider implementation from
    # Sun Microsystems, uncomment the following two property lines
    # and set the url property correctly.
    objstore.attrs.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
    objstore.attrs.java.naming.provider.url=ldap://localhost:389/ou=imqobjmgr,o=sun.com
    # To use the File System service provider implementation from
    # Sun Microsystems on Solaris, uncomment the following two
    # property lines and set the url property correctly.
    # *** Note that the url syntax here is platform specific. ***
    #objstore.attrs.java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    #objstore.attrs.java.naming.provider.url=file:///home/foo/imq_admin_objects
    # To use the File System service provider implementation from
    # Sun Microsystems on Windows, uncomment the following two
    # property lines and set the url property correctly.
    # *** Note that the url syntax here is platform specific. ***
    #objstore.attrs.java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    #objstore.attrs.java.naming.provider.url=file:///C:/imq_admin_objects
    #objstore.attrs.java.naming.security.authentication=
    #objstore.attrs.java.naming.security.principal=
    #objstore.attrs.java.naming.security.credentials=

    I see you're using Sun Java System Message Queue. There's a forum specific to that product over at [http://forums.sun.com/forum.jspa?forumID=711&start=0|http://forums.sun.com/forum.jspa?forumID=711&start=0] . You could try asking there.
    Nigel

  • I have changed my icloud email in my iphone but in macbook still using old email. I tried to delete the old email in macbook but it requires password and it does not accept the old password for the old email anymore. How do I remove this old email?

    I have changed my icloud email in my iphone but in macbook still using old email. I tried to delete the old email in macbook but it requires password and it does not accept the old password for the old email anymore. How do I remove this old email?

    Hello farahani hairon nizar,
    If your Apple ID was changed from your old account, you may have to change it back to your old account to be able to sign out and then change it back after that is done. Take a look at the article below for more information. 
    If you're asked for the password to your previous Apple ID when signing out of iCloud
    http://support.apple.com/en-us/HT203828
    Regards,
    -Norm G.  

  • Changed my AppleID and password - now can't log-in to iCloud with my deleted account.  It does not accept my passwords - old or new.  I cannot delete my old iCloud on phone

    iPhone 5S on iOS7 -
    I changed my AppleID and password online. 
    My iPhone keeps prompting me to log-in to iCloud with my deleted account.  It does not accept my passwords - old or new.  I cannot delete my old iCloud account because it requires that I enter

    Hi suefrombenton,
    Please see this previous discussion on how to change an Apple ID on an iOS device -
    How do I change my Apple ID on my iPad? | Apple Support Communities
    https://discussions.apple.com/thread/4431720
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Visual Studio 2012 SharePoint Project Error : The partial project item type does not have a value for this property

    Hi,
    I am getting this error from visual studio 2012 whenever i try to create the following project types:
    - Workflow Custom activity
    - Web parts
    The error is as mentioned below
    "The partial project item type does not have a value for this property"
    Due to this the when I add above type of items in my project, they show a red cross icon against them.
    Please let me know If have you any solution?

    Hi
    I had same issue. Below is the solution
    Installing
    "Visual Studio 2012 Update 3" usually solves this problem. (You can download it through microsoft's official site at
    "http://www.microsoft.com/en-in/download/details.aspx?id=39305")
    Hansraj Rathva

  • In a purchase order for 3 GR's Quantity does not equal the value

    Hi,
    I have found the difference in one purchase order, there have been 3 GRs where the Qty does not equal the Value.  How has this happened?
    Any guesses why the difference has come.
    Thanks&regards,
    Veena

    Hi Vishal,
    In po history for agt 3 Gr's  Quantity does not equal the values. I hope the difference is Movement types. But exactly where to check this movements i am not getting.
    Can you tell me this which T.code.
    Tx,

  • HT1277 I have quickbooks software. I am traveling. I tried to send an invoice out, using the mac email (version 5.3) I can't send the mail out. I get a pop up asking for my password, I put the password in and it does not accept it.

    I have quickbooks software. I am traveling. I tried to send an invoice out, using the mac email (version 5.3) I can't send the mail out. I get a pop up asking for my password, I put the password in and it does not accept it. This is the 1st time I've had this problem.
    slpmtns

    Whilst it may not be your fault I am afraid it appears that your post is on a forum which is not the best for your OS. It will save the time of the unpaid volunteers here, and may resolve your issue faster, if you could examine the list below and see if there is a more appropriate forum to which you could direct your question.
    OS X 10.9 Mavericks
    OS X 10.8 Mountain Lion
    OS X 10.7 Lion
    OS X 10.6 Snow Leopard
    OS X 10.5 Leopard
    OS X 10.4 Tiger
    OS X 10.3 and earlier
    OS 9, OS 8 & System 7
    OS X Technologies
    OS X Server
    iPad
    iPhone
    iPod
    Other

  • When putting in "time/date" of future events, does not accept?

    When putting in "time/date" of future events, does not accept?

    I'd also like to ask if it's really necessary that the statuses within the status profile and date profile should maintained in the same positions.
    No

  • Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there a

    Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there are no updates

    Hi,
    CS6
    Van: R_Kelly [email protected]
    Verzonden: maandag 16 september 2013 18:42
    Aan: Hans van Sloten
    Onderwerp: Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there a
    Re: Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there a
    created by R_Kelly <http://forums.adobe.com/people/R_Kelly>  in Photoshop for Beginners - View the full discussion <http://forums.adobe.com/message/5686078#5686078

  • Since I did the Firefox reset, I try to open my email and it says, Your browser does not accept cookies. I have checked the cookies setting 100 times!

    Since I did the Firefox reset, I try to open my email and it says, Your browser does not accept cookies. I have checked and done your suggested setting 100 times!

    Note that a reset tries to migrate cookies to the new profile, so if you had previously as problem with cookies then the problem might have been carried over.
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox profile folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies

  • Report similar to MC$4 that does not show absolute values

    Hi all,
    We need a report similar to Report similar to MC$4 which has the same drilldown capabilities but does not show absolute values, and instead shows the proper (actual) values.
    Or if its possible to change something in the MC$4 report to show the actual values and not the absolute.
    Thanks in advance!
    George

    HI
    Your input criteria should contain all plant numbers and the period to be analyzed.  Execute the report and then select:  Plant Analysis\Export\Transfer to XXL\Deselect all options and tick Plant, Storage Location and Month.  Follow the options to export to Excel.  Report will be based on Plant, Storage location and Month.
    Regards

  • ME23n , Does not shows the values correctly in print preview

    Hi,
    When viewing a PO using ME23n , it does not shows the values correctly in the print preview.
    For example;
    This is the vendor & its address.  (check attached image img1.jpg)
    ZERANDIB BUSINESS APPLIANCES
    Number-122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO-04
    When displaying the print preview, it shows only some parts of the above address
    Shows only; (check attached image img2.jpg)
    ZERANDIB BUSINESS APPLIANCES
    PO BOX 41,112,REID AVENUE
    These values are getting from a table called LFA1. I have checked that table & in that table all the values exists correctly.
    I have noted issue is with, having only a single word. (If address or name having only a single word, that is without spaces, it will not going to show in the print preview) -
    In the above example, it is not showing Number-122/A and  COLOMBO-04 (Its a single word. No spaces there)
    If its like --> Number - 122/A   &  COLOMBO - 04 ,  then it will display in the print preview correctly (where there are spaces after - mark)
    check img3.jpg
    If its having more than one word, then it will display correctly in the print preview.  As below;
    ZERANDIB BUSINESS APPLIANCES
    Number - 122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO - 04
    If its 2 or more words, it shows correctly.
    If its 1 word, then its not showing!
    Why it is happening like that? Any ideas how to resolve this issue?
    regards.
    zerandib

    It turns out that this problem went away after the program crashed.  Everything seems to be working well now.

Maybe you are looking for

  • Since last software update I can't sync Outlook Calendar btwn Q10 and laptop (it worked perfectly before update!)

    I can sync my contacts, but get the same error msg each time I try to sync my calender (which is crucial for me). Error msg is: Unable to process organizer data I've looked in the BlackBerry Knowledge Base and their Resolution is: This is a previousl

  • MM period closing impact

    Hi, In MM we have two period open: the current period and the previous period. In FI only one period is open and hence we would not be able to post GM for stock materials for the previous period. For non-stock materials since they do not have any fin

  • Business role needed to access org model in UI

    Hi Experts, Please advice which busniess role is used to access org modeling in crm ui? Thanks! Rgs, Michelle

  • How to do a Search?

    One thing I don't see mentioned on this forum is an example of how to do a search. What I am trying to do is have a user put in some information, press a Execute Query button and they would be able to scroll through the DB records that match their se

  • Objects generated out of order

    I have noticed that the DDL generated will often have objects generated out of order, such as some (but not all) tables and views being generated before the drop database command. Is there something I am missing in the setup or options for generation