Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Data view jumping all over the place

edited October 2009 in General
Hi,

We have an intermittent problem with the data view in RB11.06. Sometimes the
user will set the data up (so the pipelines, etc are all visible), go to
preview and on going back to the data tab the frames that show the
datapipelines have vanished. They can scroll around on the data tab but the
pipelines don't show up, despite still being available in design mode.

It's hard to explain and it's intermittent. Any ideas?

Thanks,

Steve

Comments

  • edited October 2009
    Hi Steve,

    We have had a couple other customers with a similar issue however we have
    been unsuccessfull in recreating it on any of our machines. If you save
    your template to file as text, you can open it in notepad and see what the
    Top value of the dataview is set to. In other cases, the Top value has been
    a large number placing the dataview outside the data workspace.

    What we need is a way to recreate this consistently either by giving us
    steps to do so or with a small example we can run on our machines. Any help
    you can give us would be much appreciated.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2009
    I've done some tests and I think I'm able to reproduce this consistently.

    Create a new report. Go to the data view and move the horizontal scrollbar a
    little way to the right (just a short way). Now move the pipeline window so
    that it is partially off the right side of the screen (i.e. so the left side
    of it is visible, but the right side of it is off the right edge of the main
    window). Go to preview the report and back again. When you get back to the
    data view, the pipeline window has moved to the right so that the whole
    thing is off the edge of the window. If you scroll to the right a bit more
    you should find it. The amount it moves seems to be proportional to the
    distance the horizontal scrollbar was moved initially.

    The same is true if you move the vertical scroll bar.

    From looking at the RB source code, I think the problem lies in the
    TdaDataViewToolWin.SaveState procedure. I think it calculates the offset
    incorrectly (or at least applies it incorrectly).

    Also, some of our customers can't actually find their pipeline windows as
    they've shot so far off the screen! Is there an easy way to find them or get
    them back?

    Thanks,

    Steve Branley


  • edited October 2009
    Hi Stephen,

    Thanks for the info on how to recreate this.

    There is now a patch available that fixes this issue. Please contact
    support@digital-metaphors.com if you would like to receive the patch.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2009
    Hi,

    I emailed support on Friday and have so far had no response. Could I please
    get a copy of the patch?

    Thanks,

    Steve


  • edited November 2009
    Hi Stephen,

    A reply was sent last friday and we just sent another copy. Be sure to
    check your junk email folder to be sure it is not being filtered.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2009
    Hi Nico,

    Thanks, I have now received the email twice! Turns out it was being blocked
    by my company's spam filter because it contained over 50 occurrances of the
    word 'procedure' (surprisingly, for Delphi source code!) which is apparently
    banned due to the high number of junk mails containing information about
    certain medical procedures...

    Thanks for your help,

    Steve


  • edited November 2009
    One more thing (sorry):

    Is there a fix for existing reports that are affected by this bug? We have
    customers with reports that have been affected by this issue to the extent
    that they cannot find the data pipelines in the dataview because they have
    moved so far off the extremes of the data view window.

    Is there any way to help them find the pipelines again? Maybe a keypress
    that centres the view?

    Any help is appreciated!

    Thanks,

    Steve

  • edited November 2009
    Hi Stephen,

    The easiest way to fix existing reports is to reset the Left property of the
    dataviews defined in the template. If you view the template as text, it
    should be a fairly easy property to find and alter.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.