На PostSave тожа самое, на кнопке при вводе документа по форме следующий код:
Sub InputData
Dim ses As New NotesSession
Dim db As NotesDatabase
Dim vw As NotesView
Dim rdoc As NotesDocument
Set db=ses.CurrentDataBase
Set vw=db.GetView("(Respons)")
If uidoc.IsNewDoc Then
Call uidoc.save
End If
Set rdoc=db.CreateDocument
rdoc.Form="Respons"
rdoc.OrderNo=notesdoc.OrderNo(0)
rdoc.OrderDate=notesdoc.OrderDate(0)
rdoc.Buyer=notesdoc.Buyer(0)
rdoc.WorkShopFrom=notesdoc.WorkShopFrom(0)
rdoc.NumPozition=notesdoc.NumPozition_1(0)
rdoc.Detal=notesdoc.Detal_1(0)
rdoc.DetalNo=notesdoc.DetalNo_1(0)
rdoc.SteelGrade=notesdoc.SteelGrade_1(0)
rdoc.NumDet=notesdoc.NumDet_1(0)
rdoc.DetW=notesdoc.DetW_1(0)
rdoc.DetWTotal=notesdoc.DetWTotal_1(0)
rdoc.Price=notesdoc.Price_1(0)
rdoc.Price_2=notesdoc.Price_1_1(0)
rdoc.PriceTotal=notesdoc.PriceTotal_1(0)
rdoc.Period=notesdoc.Period_1(0)
rdoc.Dest=notesdoc.Dest_1(0)
rdoc.ZakazNo=notesdoc.ZakazNo_1(0)
rdoc.Press=notesdoc.Press_1(0)
rdoc.AddInformation=notesdoc.AddInformation_1(0)
rdoc.Notes=notesdoc.Notes_1(0)
Call rdoc.MakeResponse(notesdoc)
Call rdoc.ComputeWithForm(True,True)
Call rdoc.Save(True,True)
Call notesdoc.ComputeWithForm(True,True)
Call uidoc.Refresh
Call vw.Refresh
Call uidoc.FieldSetText("Detal_1","")
Call uidoc.FieldSetText("DetalNo_1","")
Call uidoc.FieldSetText("SteelGrade_1","")
Call uidoc.FieldSetText("NumDet_1","")
Call uidoc.FieldSetText("DetW_1","")
Call uidoc.FieldSetText("Price_1","-")
Call uidoc.FieldSetText("Price_1_1","-")
Call uidoc.FieldSetText("Period_1",Cstr(Today()))
Call uidoc.FieldSetText("ZakazNo_1","")
Call uidoc.FieldSetText("NumPozition_1","")
Call uidoc.FieldSetText("Dest_1","")
Call uidoc.FieldSetText("Press_1","")
Call uidoc.FieldSetText("AddInformation_1","")
Call uidoc.FieldSetText("Notes_1","")
Call uidoc.GotoField("NumPozition_1")
End Sub