Article ID: 191971
Article Last Modified on 3/7/2005
APPLIES TO
- Microsoft Visual InterDev 6.0 Standard Edition
This article was previously published under Q191971
SYMPTOMS
When supplying a SQL statement to the Recordset DTC that uses the DISTINCT
keyword, the resulting recordset contains the wrong number of records in
the resultset. Duplicate records should be ignored as specified by the
DISTINCT keyword. However, duplicate records are being returned.
RESOLUTION
To work around this behavior, set the cursor location to be server-side:
- Open the Properties page of the Recordset DTC.
- Click the Advanced tab.
- Set the Cursor Location property to "2 - Use server-side cursors."
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
Keywords: kbbug kbfix kbctrl kbvs600sp3fix KB191971