How Solve Problems With Computed For Display Fields In Script?
values of computed for display fields will not be available for script. why
so? if u access the filed values using front end classes (i.e
uidocument.fieldgettext("filedname")) there won't be any problem. if u access
using back end u can access provided if u avoid some statements.
using front end u can access computed for display field values.
field - is a compute for display field
dim uiws as new notesuiworkspace.
dim uidoc as notesuidocumnet
set uiws = uiws.currentdocumnet
val = uidoc.fieldgettext("Filed")
but if u convert it to back end then there will be a problem.
for this script no problem.
dim uiws as new notesuiworkspace.
dim uidoc as notesuidocumne
dim doc as notesdocumentt
set uiws = uiws.currentdocumnet
dim doc = uidoc.document
val = doc.filed(0)
if u put refresh document in between then u can't access the field value..
dim uiws as new notesuiworkspace.
dim uidoc as notesuidocumne
dim doc as notesdocumentt
set uiws = uiws.currentdocumnet
call uidoc.refresh
dim doc = uidoc.document
val = doc.filed(0)
so one should not use refresh method in this type of script statements.
this is the way one can access computed for dispaly fieldvalues from back end..