Update Main Doc from Response Doc
Posted on 2005-03-08
I have a database in testing and so far, for the most part -- all is working fine (my first almost production datbase in Notes).
I have a main form -- Project Details. I have a response doc called Project Update. There are 4 fields on the update form that feeds the main form. So, if a Project has 6 updates (responses) the user can always view the latest information fed from the update form -- directly on the main form (this also helps me to construct views).
The problem is that whenever I create an update to a main document -- the updates feed to the main form as expected. So far, one user has added updates on two different projects and the main form has not received the data from the response/update form. I have no idea why?
I have the following code in my PostSave event (this is a client app --- not a web app) (the PU means Project Update field/form)
@SetDocField($Ref; "FeasibilityP"; FeasibilityPU );
@SetDocField($Ref; "ProjectPhaseP"; ProjectPhasePU );
@SetDocField($Ref; "UpdateCommentsP"; UpdateComments );
@SetDocField($Ref; "DateUpdated"; UpdateDate );
Anyone have suggestions?
Thanks in Advance,