I followed the instructions from Microsoft (h t t p : / / office.microsoft.com/en-us/access-help/store-the-date-and-time-when-a-record-is-modified-HA010342039.aspx) to include a "Last modified" date on a form. I did this, oh, several years ago and it's been working just fine. Access 2010, XP (corporate environment, can't change this).
After Windows Updates were pushed through over night, I'm getting the following error when I try to save after updating the database:
"The object doesn’t contain the Automation Object ‘XXXXX’.
You tried to run a Visual Basic procedure to set a property or method for an object. However, the component doesn’t make the property or method available for Automation Operations.
Check the component’s documentation for information on the properties and methods it makes available for Automation Operations."
My only option is to Stop Macros and exit without saving.
I removed the LastModified field from the form, saved and closed, all good. Then, out of curiosity, I followed the Microsoft directions again from scratch to reinsert. This time I got a Return without GOSUB error. Googling this error returns 3 results, one of which has someone stating that GOSUB is older than they are and doesn't know why the person asking about it is even using it.
I'm resigned to living without my LastModified field, although it would be helpful. Is there perhaps another way of getting this information in a form other than a macro?
cheers.
dann.
After Windows Updates were pushed through over night, I'm getting the following error when I try to save after updating the database:
"The object doesn’t contain the Automation Object ‘XXXXX’.
You tried to run a Visual Basic procedure to set a property or method for an object. However, the component doesn’t make the property or method available for Automation Operations.
Check the component’s documentation for information on the properties and methods it makes available for Automation Operations."
My only option is to Stop Macros and exit without saving.
I removed the LastModified field from the form, saved and closed, all good. Then, out of curiosity, I followed the Microsoft directions again from scratch to reinsert. This time I got a Return without GOSUB error. Googling this error returns 3 results, one of which has someone stating that GOSUB is older than they are and doesn't know why the person asking about it is even using it.
I'm resigned to living without my LastModified field, although it would be helpful. Is there perhaps another way of getting this information in a form other than a macro?
cheers.
dann.