Why does Crystal Report Viewer always asks for login details to Access database on WePOS operating system?

前端 未结 5 914
遇见更好的自我
遇见更好的自我 2021-02-07 13:16

I wrote a report using Crystal Reports XI linked to an Access database here C:\\MyData.mdb.

The report has one field (simplified for this example) and no sub-reports.

5条回答
  •  臣服心动
    2021-02-07 14:14

    In Crystal Reports XI (possible on all version I'd imagine) I changed the Database Type from Access/Excel (DAO) to OLE DB (ADO).

    I bet if I had persisted I could have set the location of the System.mdw against the reports Datasource Location in the C# code (see above), as indicated by David.

    So many thanks David for the top notch steer towards the cause of this exceptionally 'niche' problem - I hope it helps someone else!


    Added on behalf of the OP.

提交回复
热议问题