Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. Main module
  2. Option Compare Database
  3. option Explicit
  4.  
  5. --------
  6.  
  7. Public strAnswer As String
  8.  
  9. --------
  10.  
  11.  
  12. Public Sub GetQuestion([Several arguments defining question])
  13.  
  14. --------[Process arguments and come up with an answer string]
  15.  
  16.  
  17. strAnswer = [computed string from above]
  18.  
  19.  
  20. End Sub
  21.  
  22.  
  23. public Sub ShowAnswer
  24.  
  25.  
  26. Docmd.Openform "AnswerForm",acNormal,,,acFormReadOnly,acWindowNormal
  27.  
  28.  
  29. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement