• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

Delphi, BDE and Crystal Reports 7

With Delphi I use always aliases from the BDE.  By doing so it is possible to simple changes the places (ex. on a other computer) of the database files in the BDE (alias) and the Delphi application will work correct.  The reports I use (written in Crystal Reports 7) are pointing directly to the database files.  So when I change the location of the files in the BDE alias, Delphi will work correct, CR7 is stil using the wrong (old location) files.

How can I make CR7 using the BDE and his aliases?

Thanks,
Dirk.
0
ka1a
Asked:
ka1a
  • 2
  • 2
1 Solution
 
yk030299Commented:
listen
0
 
yk030299Commented:
I have an experience but not sure.
I opened the old CR reprot
and choose [database]-[change location]
and change the location of an table alias to a new DSN
it change all for me.
After that, I got new.
I hope it helps
0
 
mchaggisCommented:
specify that the report tables, ie when you create the report are drawn from the an alias, not a physical location. Similarly you can update the datasource for the CRW reports via the database menu, or finally, if you have used a hardcoded report table location this can also be changed from the database menu.

Hope this helps.
0
 
mchaggisCommented:
oh, and one other thing, does the CRPE32.dll, ie the Delphi component for running CRW reports expose a property to allow you to update the datafile location for your reports on the fly?? The component has an extensive list of methods, i "think i remember" seeing this one..
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now