Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
BUG:Wrong Default Value in Remote Data Object MaxRows Property
| Article ID | : | 149765 |
| Last Review | : | July 14, 2004 |
| Revision | : | 1.2 |
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.
Back to the top
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.
Back to the top
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.
Back to the top
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. |
Back to the top
APPLIES TO
| • | Microsoft Visual Basic 4.0 32-Bit Enterprise Edition |
Back to the top
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
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please