OLE to BO Repository

I’m trying to connect a PowerBuilder application to various reports that exist in our BO repository. If the reports exists locally in the UserDocs directory, I am able to open them via an OLE connection from PB. However, if a report is stored in the repository and does not exist locally in UserDocs, I cannot ‘open’ or ‘receive’ the report. The BO manual suggests that the ‘receive’ command is OLE compatible and should retrieve the report from the repository but I am getting a PB application execution error which states ‘error calling external function receive’. Has anyone else encountered this problem? Any suggestions? Thanks.


Listserv Archives (BOB member since 2002-06-25)

Michael wrote:
I’m trying to connect a PowerBuilder application to various reports that exist in our BO repository. If the reports exists locally in the UserDocs directory, I am able to open them via an OLE connection from PB. However, if a report is stored in the repository and does not exist locally in UserDocs, I cannot ‘open’ or ‘receive’ the report. The BO manual suggests that the ‘receive’ command is OLE compatible and should retrieve the report from the repository but I am getting a PB application execution error which states ‘error calling external function receive’. Has anyone else encountered this problem? Any suggestions? Thanks. ----------------------------------------------- Michael,
This is the code that I have used to download from within BusinessObjects. The same should apply to applications calling BusinessObjects. If this doesn’t work you may want to send a sample of your code for poeple to look at.

Application.ExchangeMode = RepositoryMode Application.Documents.Receive(“Sales”)
Application.Documents.Open(“Sales”)

Glenn Fredericks
Data Warehouse Specialist
glenn_fredericks@aal.org
(920) 730-4700 x4236 or 1-800 CALL AAL

Aid Association for Lutherans
4321 N. Ballard Road
Appleton, WI 54919-0001
Visit our Web site at www.aal.org or e-mail us at aalmail@aal.org

AAL… Financial services. Lutheran heritage. A powerful combination.


Listserv Archives (BOB member since 2002-06-25)