Access VBADiscuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Hello All,
I am taking a beginner VBA course and the book I am using has projects on a CD and one of the projects has an example where it is using a command button to reset a form with the ResetForm method. I copied this example off of the CD and into a command button click event. When I click this button it comes back and says that the ResetForm method does not exist. Can someone give me the name of the command that is used to Reset Forms in VBA?
Use the Refresh method to immediately update the records in the underlying record source for a specified form or datasheet to reflect changes made to the data by you and other users in a multiuser environment. The Refresh method shows only changes that have been made to the current set of records; it doesn't reflect new records or deleted records in the record source. Using the Refresh method is equivalent to clicking Refresh on the Records menu.
Thanks Paulsh,
I will definitely use that. But why would someone who wrote a book to help beginning VBA programmers, use a method in one of his sample programs that isn't even used by VBA? Strange. Thanks again.