BUG: getRecordsetNavbar and getPagingNavbar Methods Do Not Work (190585)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
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.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbBug kbCtrl kbpending kbScript KB190585 |
---|
|