How do I know via LotusScript in the UI that a field is computed?

Hi !

In my script the GotoField is failing when the field is computed. How can I prevent of using this method if the field is computed ?

If IsThisFieldNotComputed(Source, fieldname) then

Call Source.GotoField( fieldname)

end if

Thank you in advance

Subject: How do I know via LotusScript in the UI that a field is computed ?

GotoField should return a success/failure value if you use it as a Function rather than as a Sub:

success = uidoc.EditGotoField(“FieldName”)

You can also use error handling to trap the error (The error should be either 4407 - “Document command not available” - or 4408 - “Field command not available”):

On Error 4407 Goto HandleComputedFieldError