I have a form that lists information in datasheet view. The user can click on a record to copy it via a different form. After the user enters the data and closes the form, I need to requery the datasheet view (not a problem) and leave the cursor where the user left it. I have tried AbsolutePosition and SelTop, but I get errors that I can't to that in another form. Currently, my code looks like:
Forms!form72a!Form72.Requery
Forms!form72a!Form72.SetFocus
Forms!form72a!Form72.SelTop = lngCurrentPos
When I get to SelTop, the error reads:
Object doesn't support this property or method
How do I get this to work?
Forms!form72a!Form72.Requery
Forms!form72a!Form72.SetFocus
Forms!form72a!Form72.SelTop = lngCurrentPos
When I get to SelTop, the error reads:
Object doesn't support this property or method
How do I get this to work?