Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old September 1st, 2007, 04:50 AM
Friend of Wrox
 
Join Date: Dec 2005
Location: CHENNAI, TAMILNADU, India.
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to anukagni Send a message via Yahoo to anukagni
Default 3 buttons in an access dialog box

Hi hi hi hi,

  Glad to come again :)...

  This a kind of issue which iam thinking for most of time ...
  I want to creating an dialog box in access with will show three button..

  i.e.
      In a form there are four main categories and there are more than 5 sub categories (i.e. tables) under each main categories.

      The sub categories (tables) contain entry form & report generating forms.. (from each table then totally 40 forms are there).

  Now the issue is when I click the main category it will loop to sub categories forms ... in that five sub categories are been display ..when user click an sub category name then an dialog box should appear show buttons as Entry,Report & cancel . If user selected the Entry it should go to Entry form , If user selected the Report then should go to Report generation form ...as like that ...

 Any body having Idea to solve this is VB or in Access macro....any thing

  thanks in advance ...

 yours,
 anukagni @ pap

Learn as you can..
------------------------
pap...
  #2 (permalink)  
Old September 4th, 2007, 10:10 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Instead of using a dialog box, you can either create a form with the 3 buttons on it (make it pop up and modal) or for the on click event of the sub category, you can have 3 buttons appear on the existing form. Be sure to make them disappear if another category is clicked. For the 3 buttons, use a select case to decide what action each takes. For example, if they open another form or report, use select case and check the category and sub category selections, and choose the proper report / form name based on the choices.

Did that help?


mmcdonal
  #3 (permalink)  
Old September 5th, 2007, 01:49 AM
Friend of Wrox
 
Join Date: Dec 2005
Location: CHENNAI, TAMILNADU, India.
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to anukagni Send a message via Yahoo to anukagni
Default

I had tried it donal it give an rough look to my database!. my boss want to look cool .....


anukagni
  #4 (permalink)  
Old September 5th, 2007, 06:41 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

A form looks rough? Maybe you are not designing them correctly.

Try changing the border to thin or dialog, remove all the buttons and record selectors and scroll bars and dividing lines, etc, and then add the buttons you need, a good title, and some graphic background, and THAT will look much better than any application dialog box - which looks klunky, and definitely not cool. You can even do some graphic buttons, with mouse over effects, etc.

Did that help?

mmcdonal


Similar Threads
Thread Thread Starter Forum Replies Last Post
AJAX Dialog Box onlyyourspiyu Ajax 0 May 19th, 2008 08:43 AM
Buttons disappear from dialog form j0hnyager Visual Basic 2005 Basics 2 March 3rd, 2008 02:24 PM
Dynamic Dialog Box peace2007 Ajax 1 September 26th, 2007 08:26 AM
insert dialog box in a dialog box BurhanKhan Visual C++ 7 June 1st, 2004 07:53 PM
Reports Dialog Box Ben Horne Access 4 April 21st, 2004 08:40 PM





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