Guest User

Untitled

a guest
Oct 25th, 2016
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. Sub refreshForm
  2. Dim Doc As Object
  3. Dim Forms As Object
  4. Dim Form As Object
  5. Dim I as Integer
  6.  
  7. Doc = ThisComponent
  8. Forms = Doc.Drawpage.Forms
  9.  
  10. For I = 0 To Forms.Count - 1
  11. Form = Forms.GetbyIndex(I)
  12. Form.reload
  13. Next I
  14.  
  15. End Sub
  16.  
  17.  
  18. Sub ClearForm
  19.  
  20. dim oorder as Object
  21.  
  22. oorder = grabElement("dateOrder")
  23.  
  24. oorder.Text = ""
  25.  
  26. refreshForm
  27.  
  28. End Sub
Advertisement
Add Comment
Please, Sign In to add comment