Am I asking too much?

Am I asking too much…

I don’t know script but was hoping someone could send me the entire script for a scheduled agent that would refresh any document that has changed in the last several days.

I have fields that update based on data from a different document but the fields only update when the doc is edited. I don’t want people getting stale data if they only view the doc.

I know it’s a lot to ask but it would be a tremendous help to me!!!

Thanks, Paul

Subject: Agent for updating fields in a doc…

Hi !My first thought is that this is quite simple.

I’ll write an agent which runs on any documents that has been updated since last run and utilize the method in the Notesdocument-class: ComputeWithForm…

But I think I need some more details regarding what the relation between the different sources/documents are ?

You may email me more info on: seh@seatrans.no

-SEH-

Subject: Actually…

Stig-Erik,

Thanks so much for your generous offer!!!

Actually, I think I will have to update all of the docs in the database that have @DbLookup commands. Can the the script be written to update specific forms? I can send the names of a couple then I’m sure I can see how it’s done and add more as necessary.

Subject: Agent to update calculated fields in forms…

Hi Paul !

Such a script can be written to do just about anything you like :slight_smile:

There are a few things that needs to be defines first. eMail me and we can discuss. If a solution comes out of it and it works fine conversation can return to forum to present the solution for more to enjoy - i guess ?

seh@seatrans.no