RE: Problem creating access Query on the fly
From: AA2e72E (AA2e72E_at_discussions.microsoft.com)
Date: 09/29/04
- Next message: Gareth Sharp: "Re: ADOBD / JET Transaction Problems"
- Previous message: ScottShell: "Re: ADO Function Needed"
- In reply to: Ralph Boswell: "Problem creating access Query on the fly"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 00:59:05 -0700
I have encounterd this problem too. The Query is not visible when you use the
JET provider to create it. Use the ODBC driver instead: if the query exists
(albeit hidden) the ODBC driver prompts for overwriting it.
"Ralph Boswell" wrote:
> Hi,
>
> Maybe this is a well known problem so maybe you can help.
> From Visual Basic, I would Like to create a query in an Access database
> via ADO/ADOX.
> The problem is that the query seems to be correctly created but is not
> visible in access interface. I read somewhere that the query was visible
> through code and once it existed, even if not visible, it was usable.
> OK, no problem (even if it is annoying in access interface) if i know
> that the query is there. A further problem is then that if I write a
> procedure testing the presence or not of the query by looping on the
> tables/views name, I cannot see the query and my procedure returns a
> false value as it didn't find the query. If I run then a procedure to
> create the query, an error occurs saying that the query exists....
>
> Any help on that subject?
>
>
> Thanks in advance.
>
> Ralph
>
>
- Next message: Gareth Sharp: "Re: ADOBD / JET Transaction Problems"
- Previous message: ScottShell: "Re: ADO Function Needed"
- In reply to: Ralph Boswell: "Problem creating access Query on the fly"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|