You are getting that error because rs is declared using the keyword Private, if you change that to Public it should get past that error. For more info see the article What is the difference between Dim/Private/Public/Global/Static/Const? from our Classic VB FAQs (in the FAQ forum)

However, if you are just using that line it will not make any changes to the fields, so wont seem to update anything. It may be best to simulate a click of your command button instead, eg:
Code:
Patient_Info2.cmdUpdate.value = True