Re: ADO Shape and Subqueries
From: James (See.My.Sig_at_The.Bottom.com)
Date: 02/19/05
- Next message: Mark J. McGinty: "Re: How can I copy multiple records from the Data Grid to the clipboar"
- Previous message: James: "infinite shape clause?"
- In reply to: Stephen Howe: "Re: ADO Shape and Subqueries"
- Next in thread: Stephen Howe: "Re: ADO Shape and Subqueries"
- Reply: Stephen Howe: "Re: ADO Shape and Subqueries"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 19 Feb 2005 04:35:04 GMT
i need to do this also. how would you reference the previous recordset in
the second recordset, since you suggest making two recordsets insted of
doing this in one. My reasoning for neededing a shape clause that includes
the same table is because i want to create a hiararchial tree of Employees
and there Managers. is this the right direction for me to be researching to
solve my problem?
"Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom> wrote in message
news:uX2DRufFFHA.3336@TK2MSFTNGP10.phx.gbl...
>> However, when I try the subquery, I get an 'unexpected error'
>> when I execute it in code (VB6).
>
> Is this subquery executing at the same time as the query is?
> If so, I believe you cannot have 2 server-sided, forwardonly, readonly
> cursors working off the same connection at the same time. Change the
> cursor
> properties for one and all will be well.
>
>> If I take the same code and put it in Query
>> Analyzer (stripping away the shape related items - they don't work under
>> Query Analyzer), it works just fine.
>
> Yes but you are not doing the 2nd query while the 1st has not finished
> executing in QA.
> You are doing them sequentially in QA, one after the other, and that is
> the
> difference.
>
> I could be mistaken but I believe this is true.
>
> Stephen Howe
>
>
- Next message: Mark J. McGinty: "Re: How can I copy multiple records from the Data Grid to the clipboar"
- Previous message: James: "infinite shape clause?"
- In reply to: Stephen Howe: "Re: ADO Shape and Subqueries"
- Next in thread: Stephen Howe: "Re: ADO Shape and Subqueries"
- Reply: Stephen Howe: "Re: ADO Shape and Subqueries"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|