The reason why your code isn’t working, is posted in the first thread in the search results, and relates to how you have Flag04
This week I’ve seen two posts by IBMers which are taking horrible approaches to their solutions, because “it’s complicated” or couldn’t cut and paste the solution.
I understand what you are saying but I don’t know script. I’m a mechanical engineer supporting this database. Whatever script is there, which is very little, was written by someone else. The evaluate call seems like it would be simple but I can’t seem to get it to work… Here is my code… please help… The “Account” field is not being updated.
Sub Onchange(Source As Field)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Account = Evaluate ({@DbLookup("":"NoCache";"":"";"DBLookup Data - Account Data"; Flag04; "Account")},doc)
Call uidoc.Refresh