August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!
Dim uiws As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = uiws.CurrentDocument Dim sess As New NotesSession Dim oDb As NotesDatabase Dim doc As NotesDocument Set oDb = sess.GetDatabase("CHILN6","Stockroom Services\GSS_Pipe.nsf",True) If oDb Is Nothing Then Msgbox "Cannot open database" Exit Sub End If Set doc = oDb.CreateDocument doc.Form = "Main Pipeline" doc.CRSNumber = uidoc.FieldGetText("CTrackingNumber") Call doc.Save(True,False) ' If you like to open new document in Edit mode, add: Call uiws.EditDocument(True,doc)
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.