 |
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
|
|
|

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

November 28th, 2003, 12:01 PM
|
Friend of Wrox
|
|
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The access switchboard will eventuallu crash on you. Do not use it. It will corrupt your database.
Sal
|

December 1st, 2003, 07:41 PM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

December 2nd, 2003, 09:24 AM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
|
|
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
|

December 2nd, 2003, 10:46 AM
|
Friend of Wrox
|
|
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

December 2nd, 2003, 01:35 PM
|
Friend of Wrox
|
|
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

December 2nd, 2003, 06:34 PM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

December 3rd, 2003, 09:08 AM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
|
|
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
|

December 3rd, 2003, 05:27 PM
|
Friend of Wrox
|
|
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

December 3rd, 2003, 05:29 PM
|
Friend of Wrox
|
|
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|
 |