Problem in linking MDB filename path to RPT file
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Problem in linking MDB filename path to RPT file

  1. #1
    Join Date
    Sep 2004
    Posts
    3

    Problem in linking MDB filename path to RPT file

    Hi,
    I require some help regarding crystal reports. I am using crystal reports 10.0 developers version in VC++ application.
    I am using RDC(Report designer component that is craxdrt.dll) for programming which comes along with Crystal reports.

    I am using MS Access 2000 as the database.

    I have a requirement to provide MDB file name and Table name to the report file at run time.

    I see another API to provide datasource. I call it as follows:
    m_Report->Database->SetDatasource("MDB File name and path" ) .

    Next I call API to set table name
    m_Report->Database->Tables->GetItem(1)->PutLocation("TableName")

    I get an exception message "'TableName' not found" eventhough that table is present in MDB file.

    If anybody have some idea regarding the above mentioned problem, please reply. I am struggling with this problem since one week. Please help

  2. #2
    Join Date
    Sep 2004
    Posts
    3

    Re: Problem in linking MDB filename path to RPT file

    Test reply, please ignore

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center