Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

CRPEngine&CRPEJob can't talk to Informix v9.21

Hi folks,
I am using seagate crystal report v7.0
Please read the folloing code:

crpEngine->Open();
/* assuming I have a correct info in logoninfo struct */
crpEngine->LogOnServer("pdsodbc.dll", &logoninfo));

CRPEJob *job = crpEngine->OpenJob("C:\demo.rpt");
job -> start();  /* operation failed */
                 /* reason: cannot open SQL server */

<=================================================>
Above code works well with sybase and oracle. I does not work with Informix server. Did I miss anything???
0
zollen
Asked:
zollen
  • 3
1 Solution
 
DRRYAN3Commented:
Try using PESetNthTableLogonInfo instead of LogOnServer.  I'm not a C programmer and cannot provide an example, but sometimes it is necessary to set the logon info for each table in the report.

DRRYAN3
0
 
DRRYAN3Commented:
zollen

Did the suggestion work?  How about some feedback?

DRRYAN3
0
 
DRRYAN3Commented:
This question has been open for some time now.  Please return and either
1.  Accept an answer
2.  Post a comment stating that you need more information
3.  Ask Community Support to delete the question if you feel the information here has no value to you or anyone else.
4.  Ask Community Support to PAQ the question because your question was not answered but you feel the information here may be of some value to others.

Community Support is here:  http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt and you can leave a message by posting a zero point question.  Be sure to reference the question ID, found in the Address bar of your browser.

Thanks
DRRYAN3
0
 
ComTechCommented:
Answer accepted by:

ComTech
Community Support Moderator
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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