Can Grow Vertical Alignment Error in Embedded Report View, but not in .PDF

Hello,
I have seen postings about this issue before, but have yet to find a solution. 
I am using Visual Studio 2008 w/ the basic version of Crystal Reports that is included.
I have a simple report that displays results of a stored procedure as rows across the report.  One field can be of variable length, anywhere from 0 to 100 characters.  Usually it's something reasonable (less than 40 chars), and so I have only given it so much width in the report.  For when it is longer than that, I turned the "Can Grow" property ON, and set the Maximum Number of Lines property to 0. 
When the report displays embedded in my Web Form, and this field's data is wider than the space I have allowed, it breaks the data down into multiple lines of the same correct width, as you'd expect, but those lines end up displaced vertically upward several rows, and print directly on top of other data from the above rows, make the report unreadable in that area (and quite ugly overall!).
If I export this report to a .PDF, it displays perfectly, without the vertical displacement error.
Anyone know what the official work is on this?  Is there a fix or is this a bug?
If there is no fix, does anyone know how to direct the report to the .PDF file viewer, so the embedded report remains invisible (and thus hides the ugly error), but the user has the .PDF version to see?  My client ultimately wants to export the report to .PDF, which I have already coded, but it does not open the .PDF Viewer, just saves the report to disk.  However, if I use the Crystal built-in Export button, it first displays a pop-up asking which format to export to, then if .PDF is chosen and okay is clicked, the pop-up switches to contain the .PDF Viewer, and opens the report.  In my user-defined export code, the .PDF is correctly created, but I am missing the step on how to open the .PDF Viewer.
Any ideas?

Thanks for the responses.
Jonathan, moving the field in question to its own details section (details B) did not fix the issue.  The field in question is moved slightly down as its in a new details section with sits slightly lower than details A, but when it has to be broken up into multiple lines, the same issue arises, the field text is displaced vertically upward and sits on top of other data.
Ludek, I wanted to send the report to a .PDF Viewer in a new browser, and keep the original browser intact.  I'm using code very similar to yours.  To launch the new broswer I added this code to the Page_Load of my main browser:
btnViewReport.Attributes.Add("onclick", "window.open(Page.aspx', """", """", 'height=200,width=400')")
When the button is clicked the report is exported, and the new browser opens Page.aspx.
I use this code in Page_Load of Page.aspx:
        Dim webClient As System.Net.WebClient = New System.Net.WebClient()
        Dim buffer As Byte() = webClient.DownloadData("C:\Reports\Report.pdf")
        If Not buffer.Length.Equals(0) Then
            Response.ContentType = "application/pdf"
            Response.AddHeader("content-length", buffer.Length.ToString())
            Response.BinaryWrite(buffer)
        End If
Any other ideas on the original vertical displacement issue when using Can Grow, I'd still appreciate it.
Thanks,
Scott
Edited by: Scott Deltorto on Sep 23, 2008 10:15 PM

Similar Messages

  • You can safely ignore some errors that fsck reports....?

    I got the following report while Verifying in DU after installing the latest Security Update 2009-001. I took every possible precaution: installed in Safe Boot from standalone download, repaired Permissions before and after, disconnected all peripherals and stood on my head.
    I repaired successfully, booted from the Disc. DU, while booted from the disc, saw the error too, so I know it wasn't a spurious error appearing only when booted from the HD. I'm wondering if there's anything here to be concerned about. I have never before had DU report the disc needed repair.
    (I also repaired a Permissions error while booted in Safe Mode, before doing any of this. This was strange, since I'd just done a Permissions repair only a few days earlier for the QT Update. I won't get into that now, since I my main concern is the Disc error, and I don't want to overload this post with too many questions).
    Checking volume bitmap.
    Volume Bit Map needs minor repair
    Checking volume information.
    Invalid volume free block count
    Invalid volume free block count
    ead of %@)",2)
    28212389
    28211294
    The volume Hard Drive needs to be repaired.
    Error: The underlying task reported failure on exit
    Both the Pogue, Missing Manual, Tiger, book and this KB article, report "Volume Bit Map needs minor repair" and "Invalid volume free block count " as "benign" errors, to be ignored.
    "You can safely ignore some errors that fsck reports when journaling is enabled."
    http://support.apple.com/kb/TS2028
    I've been looking into this on my own, but here's the source of my confusion: 1. The heading of the KB article says it is for 10.3.9 or earlier (the article was last modified August, 2008), but way down at the bottom, 10.4 is listed under "Products Affected." Is this just someone at Apple being sloppy? 2. Both the Pogue Tiger book p.778, and the KB article describe this as an error that can be reported while repairing using fsck. They don't mention errors reported by DU, which is how I got this error. But just to be certain, can I safely assume it would apply to errors reported by DU as well? They are, effectively, the same thing, aren't they?
    No strange sounds coming from the HD and everything seems to be fine. And no more reports of this kind coming from DU.

    OK. Thanks very much,
    My question arose because both the KB article and Pogue discuss these errors only in the context of running fsck. Since you say journaling is automatically turned off when DU does repairs, _does that, then, mean that these errors are only spurious when coming from fsck, not DU, because journaling is enabled in fsck? Journaling enabled is what causes them to appear in fsck?_ Is this why there's no mention of DU for these errors from the Apple KB article and Pogue? And does that mean that *if DU reports them, not fsck,* they are to be taken more seriously, that they are benign, meaning not very serious, but not to be dismissed completely as when they are reported by fsck?
    Yes, the errors are benign, but should not be ignored.
    I thought the KB article and Pogue were letting me off the hook completely. I see that's, maybe, not exactly the case.
    *I never ran fsck.* I did everything from DU, either booted from the HD or the Tiger Installer disc. Fsck only came up because I discovered this KB article and the Pogue excerpt, which made me think that, since fsck is essentially DU, but run from a command line, they applied as well to the errors DU found. I didn't realize that, maybe, journaling enabled in fsck was at the heart of this issue.
    As mentioned, I ran DU from the Tiger Installer disc and it repaired the error right away on the first run. I ran it twice just to be sure.
    If DU ran successfully but did not repair the problem, then run Repair Disk repeatedly until no problems are reported.
    There was no other problem, only the error DU reported, which was successfully repaired.
    DU is supposed to disable journaling before repairing the drive. But there's nothing wrong with disabling journaling manually before repairing the drive.
    Meaning I can't always assume it will? And, perhaps, it didn't this time and that's why I got the error?
    Everything seems fine now; I was just somewhat alarmed, since I didn't understand where this could be coming from. I'd already verified the disc, booted from my clone, very recently.
    Message was edited by: WZZZ

  • MBAM - SCCM 2012 Reports - Error: the 'MBAM Policy' view does not exist

    Hi
    I have installed MBAM with SCCM 2012 integration. A single server install with SQL server 2012. Mostly it has gone smoothly and laptops are being encrypted and pins stored and recoverable. The problem I have is reports are not showing. I get the following
    error message.
    "Error: the 'MBAM Policy' view does not exist"
    Any ideas why this is? I get the same error message with all 4 reports.

    Hi Slycy,
    There is another thread that seems to be a similar issue
    here that may help you. The last post in particular has a number of steps that you can use to speed up creation of the views:
    Just for future reference, there are quite a few things that have to happen before the view is created. This is merely how CM works.
    Make MBAM MOF changes
    Select TPM spec version in hardware inventory
    Install MBAM CM Integration feature
    Perform a machine policy refresh cycle on a client to get the MOF changes that need to be inventoried
    Perform hardware inventory
    Update MBAM Supported Computers collection membership.  The machine should appear if it meets the criteria
    Run another machine policy refresh on the client so that the Configuration Baseline will come down
    Make sure that the MBAM agent has woken up once
    Evaluate the Configuration Baseline
    The MBAM views should be created now.
    You don't have to do this for every machine, but this is the process to speed it up.  If you let CM do it, it could take over a week before the view is created the first time, depending on when Hardware inventory runs, etc.
    Hope this helps,
    David

  • Can we add a new column in report which is not in table.

    Hi All,
    Can we create a new column in report which is not in table.
    I have two columns in my table completion_date, manufacture_date. If the difference between the completion_date and manufacture_date is 0, -1, 1 then the new column of the report will say on time against each record or else will display late. Any suggestion how to proceed on this
    Regards
    Edited by: User_Apex on May 16, 2011 5:54 AM

    Standard report then, NOT an interactive report (which if you were using, you could build a computation and report on that)..
    Then the adding a column in the query would be your best best...
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • I can't enter gmail. The error 'The page isn't redirecting properly' shows up. I can access gmail on my phone and with IE, but not firefox.

    I've tried to clear the cache and delete the cookies from gmail, but neither has worked. I can access gmail from my phone and through IE but not firefox. I also use the gmail gadget on my igoogle page and it does not work either.

    Top of your browser click on Firefox, select Options
    Select "Use Custom Setting for History"
    Then click show cookies, then remove All Cookies
    Close browser and restart, should work nicely
    Simple fix (cause of the problem, since you select copy Cookies and History, Favs from Explorer they are clearly not compatible, so that is why you get the error)
    Firefox guys need to fix this is serious challenge for new users.

  • BPEL SCA: XML-20129: (Error) Namespace prefix 'ui' used but not declared.

    SOASuite 11g
    Oracle Weblogic Server 10.3.3
    Oracle Solaris on SPARC (64-bit) 10
    Database: Oracle Server - Enterprise Edition 10.2.0.5
    When I start the SOA domain server, I find the following in the log file:
    <Feb 25, 2011 10:41:23 AM CET> <Error> <org.apache.commons.digester.Digester> <BEA-000000> <Parse Error at line 9 column 79: <Line 9,
    Column 79>: XML-20129: (Error) Namespace prefix 'ui' used but not declared.
    org.xml.sax.SAXParseException: <Line 9, Column 79>: XML-20129: (Error) Namespace prefix 'ui' used but not declared.
    at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:342)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
    at org.apache.commons.digester.Digester.parse(Digester.java:1785)
    at oracle.fabric.composite.Parser.parseComposite(Parser.java:132)
    at oracle.integration.platform.kernel.WLSFabricKernelInitializer.deployComposite(WLSFabricKernelInitializer.java:493)
    at oracle.integration.platform.kernel.WLSFabricKernelInitializer.prepareCompositeDeployments(WLSFabricKernelInitializer.java:
    239)
    at oracle.integration.platform.kernel.WLSFabricKernelInitializer.init(WLSFabricKernelInitializer.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    My composite.xml is:
    <composite name="JIPSYHandleRTOTaskEBF" revision="1.0" mode="active" state="on"
    xmlns="http://xmlns.oracle.com/sca/1.0"
    xmlns:ui="http://xmlns.oracle.com/soa/designer/"^M
    xmlns:xs="http://www.w3.org/2001/XMLSchema">^M
    <import location="GetTimeoutPeriod.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/GetTimeoutPeriod/"/>
    <service ui:wsdlLocation="JIPSYHandleRTOTaskEBF.wsdl" name="client">
    </composite>
    But when it has been deployed, I see that this has been changed into:
    <composite name="JIPSYHandleRTOTaskEBF" revision="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <import location="GetTimeoutPeriod.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/GetTimeoutPeriod/"/>
    <service ui:wsdlLocation="JIPSYHandleRTOTaskEBF.wsdl" name="client">
    </composite>
    (I exported this from MDS).
    Apparently, some namespaces are stripped.
    This appears to happen during the deploy (using ant), because the version in the generated jar file is already missing the namespaces.
    The BPEL processes appear to work fine though.
    Why is this happening and how can I prevent these errors?

    I've fiddled around with the file composite.xml and found the following workaround:
    If I change the start of the file to:
    <?xml version="1.0" encoding="UTF-8"?>
    <composite name="JIPSYUpdateWorkflowReqABCSImpl"
    xmlns="http://xmlns.oracle.com/sca/1.0"
    xmlns:ui="http://xmlns.oracle.com/soa/designer/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    revision="1.0"
    mode="active"
    state="on">
    it remains unchanged and the errors during deployment are gone.

  • I can't download videos to Real Player. The settings are correct and i can download in Internet Explorer 7 with no problem but not FireFox 5...any ideas??

    I can't download videos to Real Player. The settings are correct and i can download in Internet Explorer 7 with no problem but not FireFox 5...any ideas??

    I'm still experiencing this problem.  I went to settings, general, software and it says Install now.  But when I try, I get an error message. 

  • How come I can see my div in design view but not in live view

    Hi,
    I have a div ID called "portfolio" that I can see in design view but not live view or on a browser. It's a little pink square and I want that square round also.
    I ran it through validator. It picked up some things in the style.css which I changed and the boilerplate.css that I did not. Because I thought DW auto creates code for boilerplate because I don't enter that code myself.
    It's also rejecting a lot of webkit code but this seems like standard webkit code that works elsewhere on the page.
    BTW: at what point does this brutal hand coding pay off in money and less heartache when Wordpress looks cleaner and is so much easier to use? I feel like I barely know HTML or CSS in terms of translating vision to reality and with all-browser functionality after months and months of on-line classes. How long are the pros at it till they reach a watershed point?
    here's my address: http://www.adjacentdimensionsmedia.com/home.html
    Here's my html:
    <body>
      <div class="gridContainer clearfix">
        <div id="div1" class="fluid"><img src="adtitle2.png" width="700" height="80" alt=""/></div>
      <div class="fluid"><div class="box-shad"><a href="index.html"></a></div>
      </div>
        <div id="portfolio">Portfolio</div>
    </body>
    Here's my CSS:
    .box-shad {
      margin-top: 200px;
      margin-left: 100px;
      width: 900px;
      height: 700px;
      display: block;
      background-image: url("images/Big-tree-trans1.png");
      background-size: 900px 700px;
      -webkit-box-shadow: 15px 15px 15px #000000 inset;
      box-shadow: 15px 15px 15px #000000 inset;
      -webkit-border-radius: 50%;
      border-radius: 50%;
      position: fixed;
    .box-shad a {
        display:block;
        width:900px;
        height:700px;
    #portfolio {
      width: 100px;
      height: 100px;
      margin-top: 0px;
      margin-right: 200px;
      margin-left: 200px;
      margin-bottom: 0px;
      border-radius: 75%;
      -webkit-border-radius: 75% 75%;
      background: pink;
      top: -300px;
      position: relative;

    The top:-300 is putting that div above the top of the browser viewport. Fix that and you'll see the div.

  • Can get the AirPlay to work off my computer, but not my iPhone or iPad. I have the latest software.  Airplay logo never appears on iPhone or iPad.

    Can get the AirPlay to work off my computer, but not my iPhone or iPad. I have the latest software.  Airplay logo never appears on iPhone or iPad.

    Try here  >  http://support.apple.com/kb/TS1538

  • I can see my ipod nano 2nd generation under finder but not under itunes.

    I can see my ipod noano 2nd generation under finder but not under itunes. I can't upgrade the music on the ipod nano if itunes doesn't show it. How can't I fix this problem?

    See this article first.
    http://support.apple.com/kb/TS1461
    If still no luck, try a low level format of the iPod using Disk Utility and the instructions provided in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • How can I buy an IOS app available in UK but not in Australia

    How can I buy an IOS app available in UK but not in Australia.
    The App is  " Weber'c on the Grill"

    That will not work.
    Please test your advice before posting it.

  • I have a pdf file, how do it ONLY View but not can get changed, I mean locked

    I have a pdf file, how do it ONLY View but not can get changed, I mean locked?

    Use the Security tab in the properties of the document.

  • HT204266 25 apps on my wife's phone need updating and now it "Cannot connect to iTunes Store" only when i try to update them for her.  I can access the iTunes store for all other options but not to update.  How can I get her updated?

    25 apps on my wife's phone need updating and now it "Cannot connect to iTunes Store" only when i try to update them for her.  I can access the iTunes store for all other options but not to update.  How can I get her updated?

    Try quitting the App Store:
    Tap the home button to get to the home screen. Then double tap the home button, and hold your finger over the App Store icon. Tap the red when it appears. Tap the home button again to return to the home screen.
    Try resetting:
    Hold the home and power buttons at the same time until the Apple boot logo appears. No data will be lost.

  • I can print from my PC to my wireless printer but not from my ipad. What should I do?

    I can print from my PC to my wireless printer but not from my ipad3.  How do I cure this problem?

    If it's not an Airprint enabled printer, you need apps like:
    http://itunes.apple.com/sg/app/print-n-share-for-documents/id301656026?mt=8&ls=1
    http://itunes.apple.com/sg/app/printcentral/id366020849?mt=8&ls=1

  • Can I strem audio to my airport express? but not only iTunes

    Can I stream audio to my airport express? but not only iTunes. where can I suggest to Apple make some about it?

    Hello keer. Welcome to the Apple Discussions!
    Can I stream audio to my airport express? but not only iTunes.
    Yes. To stream audio, other than from an iTunes source, to an AirPort Express Base Station (AX) you will need a third-party product, like Rogue Amoeba's Airfoil.
    where can I suggest to Apple make some about it?
    You can submit suggestions to Apple at the following link: Apple Product Feedback

Maybe you are looking for

  • Voice Memos will not sync debacle

         This is an open thread many times over yet I see no orthodox solution. Apple, I address this to you. I have hundreds of voice memos on my iPhone 5s. I have over 900 of them relatively safely transferred to my Macbook Pro. But there are still spo

  • USB Webcam on Macbook with built-in Isight?

    Has anyone been able to use an external webcam via USB on a Macbook with built-in iSight? This should be very straight-forward, but it's not working for me. Is it possible? Thanks.

  • "class or interface expected error"

    hi, i have these two classes that am using and when i try and compile them i get a class or interface expected error. i have looked at previous posts and checked that i have the right number of closed brackets. anyone any ideas? import java.io.*; imp

  • Adobe Premiere 2014 CC crashes on a MBPro2014/Mavericks

    Hi, Been getting recurrent issues on Ppro. When editing I get freezes, hard reboots is a solution but it re-occurs daily. audio dropouts while editing and exports. CUDA drivers and permissions are updated but still have issues .. Any help would be gr

  • Bill of Exchange queries

    Hi! I need a little help in creating 4 queries. In particular: 1) Number of Bill of Exchange issued and expired for a Customer (both paid and unpaid); 2) Total amount of Bill of Exchange issued and expired for a Customer (both paid and unpaid); 3) Nu