Home All Groups Group Topic Archive Search About

can't run report from crystal reports

Author
17 Jul 2006 1:41 PM
Tami
I'm trying to run a crystal report from an access database.

When trying to select any table from this database as the data source I get
the error:

Query Engine Error:  'DAO Error Code: 0xC26 Source:  DAO.Fields
Description:  Could not read definitions; no read definitions permission for
table or query '(1)School Info'.'

I suspect that it has something to do with the security of the database.

Please Help.

Author
18 Jul 2006 11:43 AM
Scott McDaniel
On Mon, 17 Jul 2006 06:41:02 -0700, Tami <T***@discussions.microsoft.com> wrote:

>I'm trying to run a crystal report from an access database.
>
>When trying to select any table from this database as the data source I get
>the error:
>
>Query Engine Error:  'DAO Error Code: 0xC26 Source:  DAO.Fields
>Description:  Could not read definitions; no read definitions permission for
>table or query '(1)School Info'.'
>
>I suspect that it has something to do with the security of the database.

You should be able to set the Connection info in your CR program. I use CR11 (and hate it, by the way, but all my
corporate clients use it) and I can define the connection parameters in the Database - Set Datasource location. If
nothing else, you can use the Create new Connection. Note these terms may be different with older versions of CR ...


Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
Author
18 Jul 2006 12:41 PM
Tami
It allows me to connect to the database to the point where I can see the
tables.  However, when trying to select the tables that is when I get this
error.

Show quoteHide quote
"Tami" wrote:

> I'm trying to run a crystal report from an access database.
>
> When trying to select any table from this database as the data source I get
> the error:
>
> Query Engine Error:  'DAO Error Code: 0xC26 Source:  DAO.Fields
> Description:  Could not read definitions; no read definitions permission for
> table or query '(1)School Info'.'
>
> I suspect that it has something to do with the security of the database.
>
> Please Help.
Author
18 Jul 2006 3:39 PM
Scott McDaniel
On Tue, 18 Jul 2006 05:41:01 -0700, Tami <T***@discussions.microsoft.com> wrote:

>It allows me to connect to the database to the point where I can see the
>tables.  However, when trying to select the tables that is when I get this
>error.
>

Apparently the login you're using doesn't have permissions to view the query or table(s) driving the query.

Can you open the db directly? If so, can you view the query directly?


Show quoteHide quote
>"Tami" wrote:
>
>> I'm trying to run a crystal report from an access database.
>>
>> When trying to select any table from this database as the data source I get
>> the error:
>>
>> Query Engine Error:  'DAO Error Code: 0xC26 Source:  DAO.Fields
>> Description:  Could not read definitions; no read definitions permission for
>> table or query '(1)School Info'.'
>>
>> I suspect that it has something to do with the security of the database.
>>
>> Please Help.

Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
Author
18 Jul 2006 3:56 PM
Tami
yes i can log in and view tables and queries directly.

Show quoteHide quote
"Scott McDaniel" wrote:

> On Tue, 18 Jul 2006 05:41:01 -0700, Tami <T***@discussions.microsoft.com> wrote:
>
> >It allows me to connect to the database to the point where I can see the
> >tables.  However, when trying to select the tables that is when I get this
> >error.
> >
>
> Apparently the login you're using doesn't have permissions to view the query or table(s) driving the query.
>
> Can you open the db directly? If so, can you view the query directly?
>
>
> >"Tami" wrote:
> >
> >> I'm trying to run a crystal report from an access database.
> >>
> >> When trying to select any table from this database as the data source I get
> >> the error:
> >>
> >> Query Engine Error:  'DAO Error Code: 0xC26 Source:  DAO.Fields
> >> Description:  Could not read definitions; no read definitions permission for
> >> table or query '(1)School Info'.'
> >>
> >> I suspect that it has something to do with the security of the database.
> >>
> >> Please Help.
>
> Scott McDaniel
> scott@takemeout_infotrakker.com
> www.infotrakker.com
>
Author
18 Jul 2006 7:29 PM
Scott McDaniel
On Tue, 18 Jul 2006 08:56:02 -0700, Tami <T***@discussions.microsoft.com> wrote:

>yes i can log in and view tables and queries directly.
>

Are you sure you're using the same login with your Crystal Reports? Sounds as if you're logging in with a different
username/pass combo ... or you haven't specified the correct workgroup file to CR ...

Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com