Discussion:
Rave Custom Connection
(too old to reply)
Bennie Coetzer
2007-12-13 18:18:40 UTC
Permalink
I cannot establish a custom connection between my Delphi7 app and Rave
Designer. The runtimevisibility is set to rtDeveloper and I am running Rave
6.5.0 BE with Delphi 7.
I also cannot contact Verona.com - do they still exist?
Thomas Pfister - TeamNevrona-
2007-12-14 06:22:52 UTC
Permalink
Bennie,

have you started your application when you refresh the DataView inside the
RAVE-IDE ?
Rave must have access to the procedure;
Post by Bennie Coetzer
I also cannot contact Verona.com - do they still exist?
they still exits, but with a software-problem on the web-server after a
MS-Patch. They work on it.


:-) thomas
Post by Bennie Coetzer
I cannot establish a custom connection between my Delphi7 app and Rave
Designer. The runtimevisibility is set to rtDeveloper and I am running
Rave 6.5.0 BE with Delphi 7.
I also cannot contact Verona.com - do they still exist?
Bennie Coetzer
2007-12-14 19:17:49 UTC
Permalink
Hi Thomas,
Yes I am running the app (From Delphi IDE), but when I refresh I get a
memory access error.
Post by Thomas Pfister - TeamNevrona-
Bennie,
have you started your application when you refresh the DataView inside the
RAVE-IDE ?
Rave must have access to the procedure;
Post by Bennie Coetzer
I also cannot contact Verona.com - do they still exist?
they still exits, but with a software-problem on the web-server after a
MS-Patch. They work on it.
:-) thomas
Post by Bennie Coetzer
I cannot establish a custom connection between my Delphi7 app and Rave
Designer. The runtimevisibility is set to rtDeveloper and I am running
Rave 6.5.0 BE with Delphi 7.
I also cannot contact Verona.com - do they still exist?
Thomas Pfister
2007-12-16 20:33:15 UTC
Permalink
Bennie,
the following things would I check:

- the form with the CustomConnection is created ?
- you have only one CustomConnection with the same name ? (check all forms
for the same (default) name of the component)

:-) thomas
Post by Bennie Coetzer
Hi Thomas,
Yes I am running the app (From Delphi IDE), but when I refresh I get a
memory access error.
Bennie Coetzer
2007-12-18 18:26:36 UTC
Permalink
Thanks Thomas,Trevor
The problem is that my code works fine with the report. I need to add more
dataviews but this is apparently impossible without creating a 'live'
connection between my IDE and the Rave IDE.
I struggle with creating this 'live' connection although this used to work -
I am busy updating code I worked on 2-3 years ago so the development
environment had to be re-created and now I struggle with this.
regards
Post by Thomas Pfister - TeamNevrona-
Bennie,
- the form with the CustomConnection is created ?
- you have only one CustomConnection with the same name ? (check all forms
for the same (default) name of the component)
:-) thomas
Post by Bennie Coetzer
Hi Thomas,
Yes I am running the app (From Delphi IDE), but when I refresh I get a
memory access error.
Trevor Keegan
2007-12-19 04:52:20 UTC
Permalink
Hello Bennie,

Is there some reason that you need to use the CustomConnection. If you want
to make life easier in this respect you might consider using something like
TClientDataSet (or some other memory data set). Then you will be able to
create the fields in your ClientDataSet and the simply use the
DataSetConnection. This way you do not need to have a 'live'
connection....you will simply need to worry about populating the
ClientDataSet

Regards
Trevor Keegan
Bennie Coetzer
2007-12-26 14:14:38 UTC
Permalink
Hi,
Thanks for the advice. The problem is that the displays are DBCharts and
only the graphics is displayed. I did fhowever come right by using Rave 5 -
it seems that Rave 6.5 does not connect to Delphi 7. So from my side the
problem is resolved.
Thanks again for the advice.
Post by Trevor Keegan
Hello Bennie,
Is there some reason that you need to use the CustomConnection. If you
want to make life easier in this respect you might consider using
something like TClientDataSet (or some other memory data set). Then you
will be able to create the fields in your ClientDataSet and the simply use
the DataSetConnection. This way you do not need to have a 'live'
connection....you will simply need to worry about populating the
ClientDataSet
Regards
Trevor Keegan
Trevor Keegan
2007-12-16 23:55:19 UTC
Permalink
Hello Bennie,

Further to Thomas's suggestions.

One other thing to check (depending on when the error is
generated).....please ensure that the order that you specify you fields is
also the order that you put information into the record.

Regards
Trevor Keegan
Trevor Keegan
2007-12-16 23:57:08 UTC
Permalink
Hi Bennie,

Another suggestion would be to put a break point in your code for the
various CustomConnection events and just walk it through. I suspect that
the problem will be found in your code somewhere.

Regards
Trevor Keegan
Loading...