Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics 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 August 27th, 2004, 02:43 PM
Registered User
 
Join Date: Aug 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Button Controls

I have a button on a form in Access that executes a macro. The macro triggers a query to find all of the email address's of people enrolled in a certain class. When the button is clicked, a dialog box comes up and asks for a workshop number. The user enters a particular number, clicks Ok, and the email address's are displayed in Notepad. However, when the dialog box comes up, and a user clicks Cancel, it still opens Notepad(without any email address's being displayed) and asks me if I want to create a new file. Is there any way to make the dialog box Ok only?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Make a image button as default submit button toshi ASP.NET 1.0 and 1.1 Basics 1 June 1st, 2006 05:25 AM
Mouse scroll button in vb controls madhukp VB How-To 0 September 13th, 2004 04:43 AM
Controls and button style Windows Xp TAVOSOFT Pro VB.NET 2002/2003 1 July 21st, 2004 08:28 AM
Controls and button style Windows XP TAVOSOFT VB.NET 1 June 12th, 2004 09:59 AM
Controls and Button style Windows Xp TAVOSOFT VB.NET 2002/2003 Basics 1 June 12th, 2004 08:53 AM





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