RBEnt6.01 for D5 Random Access Violations when switching tabs
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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
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
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.
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
http://www.digital-metaphors.com
info@digital-metaphors.com
I live in a tiny village on the Greek island of Kefalonia - even Win98 is
pretty leading-edge here!
Roj
to try and track down the cause.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
What a fantastic place to live. I visited this island about 18 years ago.
Did some diving in the cave.
Heinz