I have a computed field on a form with the folloiwing values: The problem is that the document gets created with an agent by importing a text file and the field equates to "XYZ" bexause of no data found. If I edit and refresh the document it populates the field with the desired information. I tried putting LotusScript refresh code into the various form events but it does not remedy the problem. It appears that after the document gets created it must then be refreshed, but how to do it while the document is being created is what I would like to do so that manually refreshing it is not necessary. Suggestions are welcome. Thanks in advance.
DBName:=@GetProfileField("AdminProfile";
"BDWEBS") ;
FIELD FullName :=FullName;
@Setfield( "ConfirmID_BDWebs" ; @DbLookup("":"NoCache";dbname; "($LDAPCN)"; FullName; 2));
@If(@IsError(ConfirmID_BDWebs);@SetField("ConfirmID_BDWebs";"XYZ");@Unique(ConfirmID_BDWebs))

@DbLookup (Albert J Semane... 31.May.06)
. . 