PRB: DataEnvironment Recordset Requery Does Not Refresh Controls (191457)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q191457 SYMPTOMS
If you have controls bound to a query built by the DataEnvironment and then
call the underlying recordset's Requery method, your bound controls will
still display data from the recordset prior to having called the Requery
method. In short, you will still see your old data.
You may also see an error message stating:
"Error while trying to set current row."
RESOLUTION- After you have re-queried the recordset, you must re-bind it.
-or-
- Bind your controls to the recordset object rather than to the
DataEnvironment. If you then call the Requery method on the recordset
object, you see the up-to-date data in your bound controls.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 1/9/2003 |
---|
Keywords: | kbprb KB191457 |
---|
|