URGENT : Dialogbox in Database Script to get information from user

Hi All,I want to open a form in dialogbox when the db is opened. The form contains some text, a check box (saying I have read the terms & conditions & I agree), & an OK button. The user should check the checkbox & then OK button should become visible to him. Only after clicking Ok can the db be opened. I am trying Dialogbox in Database Script post open but it is not working. Can anybody provide useful inputs.

f1 = Ws.DialogBox(“ReasonDlg”,True,True,False,False,False,False,“Important Note”,“”,“”,“”,True)

Regards,

Anubhav Aggarwal

Subject: URGENT : Dialogbox in Database Script to get information from user

You are passing in an empty string to the notesdocument parameter. Try the following

f1 = ws.DialogBox(“ReasonDlg”,True,True,False,False,False,False,“Important Note”,False,False,True)

One thing to be aware of is that the database postopen script can be bypassed by right clicking on a databases workspace icon, selecting Database/Go to and choosing a view or folder to open.