ACC97: Documentation Error in "OldValue Property" Help TopicID: Q175961
|
Moderate: Requires basic macro, coding, and interoperability skills.
In the sample code in the Microsoft Access 97 "OldValue Property" Help
topic that reads as follows, the last line before the End Sub statement
(Next ctl) is incorrect:
Sub btnUndo_Click()
Dim ctlTextbox As Control
For Each ctlTextbox in Me.Controls
If ctlTextbox.ControlType = acTextBox Then
ctlTextbox.Value = ctl.OldValue
End If
Next ctl
End Sub
Sub btnUndo_Click()
Dim ctlTextbox As Control
For Each ctlTextbox in Me.Controls
If ctlTextbox.ControlType = acTextBox Then
ctlTextbox.Value = ctl.OldValue
End If
Next ctlTextbox
End Sub
For more information about the OldValue Property, search the Help Index for "OldValue," or ask the Microsoft Access 97 Office Assistant.
Additional query words: inf documentation
Keywords : kbprg PgmErr
Version : WINDOWS:97
Platform : WINDOWS
Issue type :
Last Reviewed: May 3, 1999