FIX: Incorrect Results Using Distinct Keyword with Recordset DTC (191971)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
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."
STATUSMicrosoft 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
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbBug kbCtrl kbfix kbVS600sp3fix KB191971 |
---|
|