troubleshooting Question

Button on form not working right.

Avatar of SysExpert
SysExpertFlag for Israel asked on
Lotus IBM
11 Comments1 Solution340 ViewsLast Modified:
I have a button on a form that is only seen during Editing. It will be used to quickly fill in fields with standard info.

The 2 fields DE1_1,2 are Dialog lists with options of  "B":"EH":"FH":"H":"J":"LOA":"M":"P":"S":"V":"X"
The test1 is just a simple text field for testing.
The button only works randomly, one in 10 tries maybe, if at all. This is a developmental DB that only I am testing.

What am I doing wrong ?

Sub Click(Source As Button)
      Dim uiw As New notesuiworkspace
      Set uidoc=uiw.currentdocument
      Set DBE=uidoc.Document
      Set S= New NotesSession

      
'      Set CurDb = S.CurrentDatabase
      DBE.DE1_1="X"
      DBE.DE1_2="X"
'      Set item=DBE.ReplaceItemValue("test1","X")      
      DBE.test1="X"
'      Call DBE.Save(False,False)
      Call DBE.Save(False,True)
End Sub
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros