Microsoft KB Archive/190585

= BUG: getRecordsetNavbar and getPagingNavbar Methods Do Not Work =

Article ID: 190585

Article Last Modified on 3/7/2005

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition

-



This article was previously published under Q190585



SYMPTOMS
When writing script to access the DTC Grid's navbar, the getRecordsetNavbar and getPagingNavbar methods do not seem to work even though statement completion for the navbar gives the impression that the code entered is correct.



CAUSE
The reason typing "Grid.getRecordsetNavbar" or "Grid.getPagingNavbar" does not work is that these methods are written in Javascript and need parentheses at the end so they will return an object. It is possible to get statement completion for the navbar's methods and properties with or without the parentheses, but the code will not work without them.



RESOLUTION
Make sure you put parenthesis at the end of each of the Grid's methods. Instead of typing "Grid.getRecordsetNavbar.updateOnMove", type "Grid.getRecordsetNavbar.updateOnMove".



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

Keywords: kbbug kbscript kbctrl kbpending KB190585

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.