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 November 28th, 2003, 04:43 AM
Authorized User
 
Join Date: Oct 2003
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default switchboard error

hi,

i have a database and i created a switchboard. but whenever i exit from the switchboard, an error msg will appear.

msg displayed:

You can't exit microsoft access now.
If you are running the visual basic module, that is using OLE and DDE, you may need to interrupt the module.

what is wrong with my database???

pls advice
nono

 
Old November 28th, 2003, 12:01 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The access switchboard will eventuallu crash on you. Do not use it. It will corrupt your database.




Sal
 
Old December 1st, 2003, 07:41 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I agree with Sal,
Make a form yourself that has all the buttons you need. Switchboards should ONLY ever be used when there's no other option (for example, if you're mucking around with the Northwind database, or some other db that you have no control over).
Along with SUVs, Access switchboards are the work of the devil
Steven

I am a loud man with a very large hat. This means I am in charge
 
Old December 2nd, 2003, 09:24 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Guys, are you talking about a pre-canned switchboard that Access provides or are you talking about a user-created switchboard? A user-created switchboard is just what Steven is suggesting when he said
Quote:
quote:Make a form yourself that has all the buttons you need.
However, he says don't use switchboards. Seems contradictory.

When entering a large program/database with lots of options, you need to start somewhere and it has to be organized. A switchboard is just what the doctor ordered. How else would you do it? You just can't start the database in "the middle of something." Remember, if you code your own stuff and do it well, it should cause no problems.


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old December 2nd, 2003, 10:46 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The switchborad I create for my users is done with the Tree view control and has a lot of error handling in it. The Ms Access switchbords has bugs in the code (go figure).



Sal
 
Old December 2nd, 2003, 01:35 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

I haven't had problems with switchboards crashing or databases being corrupt. I created a switchboard for one of my databases a while ago and I have not had any problems

Quote:
quote:Originally posted by sal
 The access switchboard will eventually crash on you. Do not use it. It will corrupt your database.




Sal
Ben Horne
Madison Area Technical College student
-------------------------
I am one of those people that you call "Microsoft Access Freaks". I'm addicted to Access
 
Old December 2nd, 2003, 06:34 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Greg,
I'm pretty sure you know I meant the inbuilt Switchboard, as created by the Switchboard Manager.
It's not the concept of switchboards I'm averse to, it's the way Microsoft makes them.
I'm all for creating custom "switchboards", but I just generally don't use that term, as most people think that means the inbuilt ones.

Mostly because they're plain ugly, and are only set up in the way Microsoft wants you to set it up. If you want to do anything even remotely different, then the inbuilt switchboards suck.
Sure if your database is for an absolutely stock standard company with absolutely nothing out of the ordinary, then go nuts I say - Use the form/table/report/switchboard/query wizards, use bulky macros, never learn a thing about VBA, don't worry yourself about what Option Explicit means!
But as far as I'm concerned, if your company is NOT Northwind Traders, then learn a little bit about Access, and make something useful.


Steven

I am a loud man with a very large hat. This means I am in charge
 
Old December 3rd, 2003, 09:08 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Hey, where are the [rant][/rant] tags?! ;)

Actually, I was not aware that Access had its own Switchboard generator. Judging from your comments, am I glad I don't!

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old December 3rd, 2003, 05:27 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

Access does have it's own Switchboard Manager which is used to create a switchbard if there isn't one already defined

Quote:
quote:Originally posted by SerranoG
 Hey, where are the [rant][/rant] tags?! ;)

Actually, I was not aware that Access had its own Switchboard generator. Judging from your comments, am I glad I don't!

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
Ben Horne
Madison Area Technical College student
-------------------------
I am one of those people that you call "Microsoft Access Freaks". I'm addicted to Access
 
Old December 3rd, 2003, 05:29 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

Steven,

Have you tried customizing any switchboard? You can do this, you know. I've done it countless times so the switchboard would look how I wanted it to

Quote:
quote:Originally posted by Steven
 Greg,
I'm pretty sure you know I meant the inbuilt Switchboard, as created by the Switchboard Manager.
It's not the concept of switchboards I'm averse to, it's the way Microsoft makes them.
I'm all for creating custom "switchboards", but I just generally don't use that term, as most people think that means the inbuilt ones.

Mostly because they're plain ugly, and are only set up in the way Microsoft wants you to set it up. If you want to do anything even remotely different, then the inbuilt switchboards suck.
Sure if your database is for an absolutely stock standard company with absolutely nothing out of the ordinary, then go nuts I say - Use the form/table/report/switchboard/query wizards, use bulky macros, never learn a thing about VBA, don't worry yourself about what Option Explicit means!
But as far as I'm concerned, if your company is NOT Northwind Traders, then learn a little bit about Access, and make something useful.


Steven

I am a loud man with a very large hat. This means I am in charge
Ben Horne
Madison Area Technical College student
-------------------------
I am one of those people that you call "Microsoft Access Freaks". I'm addicted to Access





Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Switchboard with VBA rhysduk Access VBA 8 February 5th, 2014 12:31 AM
Switchboard Size ru1 Access 1 April 18th, 2006 11:31 AM
Switchboard ?s JeffGirard Access 1 September 15th, 2005 02:52 AM
Switchboard Manager penta Access 2 March 10th, 2005 06:43 AM
switchboard problems zisko3 Access 2 January 31st, 2004 03:52 PM





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