Microsoft Knowledge Base Email Alertz

(149765) - Some ODBC drivers require the MaxRows property of the Remote Data Object to be set to 0. The default value for this property is -1.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 149765 - Last Review: July 14, 2004 - Revision: 1.2

BUG:Wrong Default Value in Remote Data Object MaxRows Property

This article was previously published under Q149765

On This Page

SYMPTOMS

Some ODBC drivers require the MaxRows property of the Remote Data Object to be set to 0. The default value for this property is -1.

STATUS

Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The ODBC specification for the MaxRows property is 0. Some drivers that detect a MaxRows property set to -1 automatically change this property to 0. However, other drivers require the property to be 0 and may return an error if the property is set to another value.

Steps to Reproduce Behavior

  1. Start 32-bit Visual Basic 4.0. If it is already running, on the File menu, click New Project.
  2. Add a Remote Data Control to the Form1 form.
  3. In the Properties window for the Remote Data Control, check the MaxRows property. The default property is -1 instead of 0.

APPLIES TO
  • Microsoft Visual Basic 4.0 32-Bit Enterprise Edition
Keywords: 
kbbug kbdatabase KB149765
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate