Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do you "showmodal" a form and get a response

Status
Not open for further replies.

BillNielsen

Programmer
Jul 9, 2001
16
CA
I would like to display a form similiar to a messagebox that asks the user if they wish to continue. Something like:

If MsgBox(cAreYouSureChange & sPrevAdd & Chr(13) & "To: " & sEditedAdd, vbYesNoCancel, "Verify?") = vbYes Then

but I cannot use a simple messagebox. So I would like to create a form that returns a boolean response. I know I could create a popup form and use a public boolean variable and depending on which button is clicked, I could set a response. However, I feel there is a better way to do this that I haven't discovered yet. Can anyone share a method of creating modal form?

Thanks,
Bill N
 
your solution seems to be the idea that I would choose. You white a VB box and insert the DLL into the access database. that is a lot more trouble than your first solution.

sorry I do not have a solution for you.

Good luck and post your solution when you figue it out.

vickvickvi
michael Vick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top