New Actions on Old Forms

Hi, all,

Is there a method to update all old forms to make new actions show up? Specifically, I created a new action in an existing database. The action will only show up on new forms. Opening up old documents will not display the action. Thanks.

Patrick

Subject: New Actions on Old Forms

Did you try to refresh the old document to see if the new action would display?

Are there hide when on the action to keep it from displaying?

And finally, is the new action part of a subform?

Subject: RE: New Actions on Old Forms

Yes, I tried refreshing the documents. There is no hide/when formula. The new action is not part of a subform.

The issue also extends to updating existing actions. Specifically, I can update an action to use new code, but all existing documents will continue to use the old code when the action is triggered. Only new forms (created from the point in which the action was updated) will use the new code.

It seems to me that actions and their code are stored on the document, so updating the an action won’t affect existing documents since it was saved as a different version.

Patrick

Subject: RE: New Actions on Old Forms

Where is the ‘action’ located? Button?

If the old code is still executing, it sounds like the documents have not been refreshed. Unless I’m not understanding something, when you refresh the documents, the old code goes away and is replaced the new action code.

Are you working directly on the form and replacing the design using a template?

Subject: RE: New Actions on Old Forms

Do you have the “store form in document” property turned on? Check the document properties of a few of the problem documents and see if there is a bunch of $ and $$ hidden fields at the top of the list. Off had you would see a $Title field if there is a stored form in the document. If that is the case then check the KB for instructions on how to remove.

Subject: RE: New Actions on Old Forms

You are correct, Paul. It had “store form in document” selected. Thanks!

Patrick