Solved

Editing the switchBoards

Posted on 2003-10-21
13
335 Views
Last Modified: 2011-09-20
Hi All !

I am trying to edit the switchboards to change the previous actions. When I try to go to Switchboard manager, it says "Invalid procedure call or arguement" everytime.

How can I now change the switchboard items ?

Thanks,
N
0
Comment
Question by:neh2008
  • 5
  • 3
  • 2
  • +2
13 Comments
 
LVL 54

Expert Comment

by:nico5038
ID: 9592754
Looks to me the switchboard table has been corrupted or your access installation needs a reinstall.

Nic;o)
0
 
LVL 32

Expert Comment

by:jadedata
ID: 9593033
Hey! neh2008,

  What did you edit in the switchboard table, did you change the data in the "Command" column??
  These "Command" values are directly mapped to constants in the Subroutine HandleButtonClick.
  If you change these value to something not recognized by HandleButtonClick you get this error.

regards
Jack
0
 

Author Comment

by:neh2008
ID: 9593053
Nop !

I never opened the switchboard table.

I always tried to use the switchboard manager and got the message everytime.

tx,
N
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 54

Accepted Solution

by:
nico5038 earned 50 total points
ID: 9593166
Then I would start with a re-install and make sure all options are installed regarding Access.

Nic;o)
0
 
LVL 32

Expert Comment

by:jadedata
ID: 9593229
ouch!  
0
 
LVL 16

Expert Comment

by:ahmedbahgat
ID: 9594205
I really hate this access switchboard manger addon, it is very hard to deal with for just creating a few switchboard forms and navigate between'm  so I decided to always use my own and never used that stupid switchboard manager

cheers
0
 
LVL 32

Expert Comment

by:jadedata
ID: 9594420
I'm on the boat with ahmedbahgat.  Once I modified how the switchboard form operated, I just kept going.  If I tried to use Switchboard Mangler on it, it would puke all over my desk.
0
 
LVL 16

Expert Comment

by:ahmedbahgat
ID: 9594502
Thanks jack, switchboard manager is BAD

cheers
0
 
LVL 32

Expert Comment

by:jadedata
ID: 9594563
neh2008:  have you looked at the module code for the Switchboard form created/managed by the SwMgr???
0
 
LVL 16

Expert Comment

by:ahmedbahgat
ID: 9594681
damn complicated for access starters, you can achieve the same looking form with the same button and damn simple code to open forms and close forms

if a new option needed to be added to any of the swtchboard items, then just editing the corrsponding swtichboard by adding the extra button and the associated code/macro with it  very simple really

we do not need tables to store the buttons and what it will do when clicked, too much effort was put for almost nothing

a minor error with this module will cause a damn chain reaction of errors that can be hard to troubleshoot as this case in our hand

I will advice to replace it with your own forms, you will be in total control

cheers
0
 
LVL 32

Expert Comment

by:jadedata
ID: 9594918
"damn complicated for access starters" - that much I'll agree with, but how do you learn until you "look under the hood" or "look under the bonnet" (depending on which side of the pond you're on...)
0
 
LVL 39

Expert Comment

by:stevbe
ID: 9985419
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: nico5038 {http:#9592754}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

stevbe
EE Cleanup Volunteer
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now