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

RBEnt6.01 for D5 Random Access Violations when switching tabs

edited July 2001 in General
Hi

I've downloaded RBEnt 6.01 for D5, and since recompiling my end-user app,
switching tabs
(ie from Design to Data) I get Access Violations. When the dataviews then
appear, only one field is listed.
If you click the fields button you may or may not get another AV, but all
the fields are then listed OK
If you click the OK button, still only one field is shown in the Dataview

I've tried manually removing every trace of RB from my system, and then
reinstalling, but I get the same probs.

Any ideas?

Roj Ash

Comments

  • edited July 2001
    I just installed RB6.01 into D5. I ran our report explorer demo. I opened
    and also created some reports at runtime- couldn't get an AV. So, then I
    went into Delphi design time- still, no AV's.

    Can you reproduce the problem with any of our end user demos?

    What operating system are you using?

    When you say "manually remove every trace," do you mean to say that you
    followed the corrupt installation description in the tech tips? I just want
    to make sure that there aren't old rb files hanging around.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited July 2001
    Jim

    I haven't tried creating new reports. If I go to an existing report,
    select the data tab, make a trivial change
    (eg click the search button, put a tick in the mandatory box of existing
    criterion, say ok)
    The Dataview reappears with only one field listed. The AVs seem to be
    related to calc fields based on existing fields which have now disappeared.
    I f I click on the Fields button of the dataview, all my selected fields are
    shown, and the SQL looks OK, but the fields are not listed in the dataview,
    and have also disappeared from the ReportData toolbar in the designer.

    I'm using DBISAM. This is an existing app which was working fine until
    6.01. It is based on the End User Report Example. The only changes made to
    the example:
    Uses DBISAM
    Uses separate database components for Data and RB Files (so that the
    RBTables can be in a different directory)
    The EndUser form is created as invisible, and i then execute the
    explore.

    After I hit these probs, I first ran Unistall, then did a search for all
    files begining RB or PP and manually deleted them

    Roj

  • edited July 2001
    I've now followed the instructions on how to recover from a corrupt
    installation and still get the probs.
    You can duplicate them directly from the supplied "End User Databases
    DBISAM" demo.
    Before compiling, enable RAP
    Create a datafile with 3 fields: (Call it Fred)
    Code : String 10
    Folio : Integer
    Name : String 20

    Chuck in a few records and add an index on folio (unique)

    Run the DBISAM EndUser demo
    Select the table and all fields

    In Search select Folio, between, and enter a couple of values which will
    return a result set
    Turn on Autosearch

    Use the wizard to generate a simple report
    Go to the calc tab and change the OnGetText for the Code field as follows
    Text:=Fred['Code']+' : '+IntToStr(Fred['Folio'];
    This will compile ok
    Preview the report - it's fine!
    Go to the Data Tab
    Click the Search Button
    Put a tick in Mandatory and click OK
    Click either the Dataview preview button or the Design Tab
    Instant AV!
    If you try to get out of it you start getting messages about Unable to
    perform this op on an open Database
    If you have a Notebook like mine, (Fujitsu Siemens Lifebook/ Win98SE) you
    will never escape! The only thing to do is turn it off

    Roj

  • edited July 2001
    I've now tested the standard enduser app (BDE)
    taken the sample invoice report
    added an OnGetText to the description field to display the qty (see previous
    post)
    works fine until you add an autosearch for qty between two values, click
    preview and crash

    Roj

    ps sorry there are so many postings, but I keep getting new ideas to try
    out.


  • edited August 2001
    I'm running on a Win 2K machine and can't duplicate your problem. We
    uninstalled Win 98 and Win ME from our laptops and installed Win 2K for
    Borcon. We'll have to reinstall Win 98 on one of our machines. Can you
    test on a Win NT or Win 2K machine to reproduce the problem?


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2001
    Sorry,
    I live in a tiny village on the Greek island of Kefalonia - even Win98 is
    pretty leading-edge here!
    Roj

  • edited August 2001
    I'll run RB 6.01 (D5) on Win98 tonight to see if I can reproduce it in order
    to try and track down the cause.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2001
    I ran on RB 6.01 (D5) on my Win98 machine at home last night and did
    instantly get the AV in the manner you described. We're gonna have to
    install Win98 here and determine the cause.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2001
    I did manage to get hte AV in Win2K and the problem has been fixed. The
    patch will be included in the next maintenance release. I 'm sending the
    fixed unit to you via email which you can use in your project.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2001
    I've been using RB since it was Piparti, and you guys really do provide the
    best support in the world

    Thanks for this fix and to all at Digital Metaphors for a great product and
    superb support over the last few years

    Roj

  • edited August 2001
    Your most welcome!


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2001
    Hi Roj
    What a fantastic place to live. I visited this island about 18 years ago.
    Did some diving in the cave.


    Heinz


This discussion has been closed.