Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 12th, 2004, 09:23 PM
Registered User
 
Join Date: Mar 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Custom Dialog Box

I need to create a custom dialog box. When you code an input box, the VBA code halts and waits for the user input, and, in fact, the input box returns a value that represents the user's action.

I need to do the same thing, but with a regular form. Basically, I need the VBA code to halt and wait for user input, and upon closing, return programmatic control to the calling code.

Please help! This would be an enormously useful thing if it can be done.

Thanks,

Snakedog

 
Old March 12th, 2004, 09:37 PM
Registered User
 
Join Date: Mar 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, wait a minute, I got it!!!!

Let's say you want to open a report, but you want a custom dialog box to open, to, say, allow you to create a filter for the report.

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
DoCmd.OpenForm "Form1", acNormal, , , , acDialog
MsgBox "done"
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

... it's the "acDialog", which I swear I tried before, but whatever. The return value may have to reside in a public variable, don't know yet.

Cheers,

snakedog






Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Dialog Box hari.gomatum Javascript 3 October 4th, 2007 02:09 AM
Dialog Box problem r_taduri ASP.NET 2.0 Professional 0 October 29th, 2006 09:33 AM
Append dialog Box paul20091968 Access VBA 1 April 28th, 2006 10:56 AM
insert dialog box in a dialog box BurhanKhan Visual C++ 7 June 1st, 2004 07:53 PM
Custom Login Dialog Box For Music Inventory 2001 Ben Horne Access VBA 4 March 8th, 2004 04:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.