Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 6th, 2004, 09:55 AM
matthewjdennis matthewjdennis is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 7 matthewjdennis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 43 sec
Reputation Power: 0
Question Switchboard layouts

I am trying to set up switchboards with varying numbers of items on each, but the switchboards with fewer items are still displaying the bottom rows form the SBs with more items. For example, one switch board has three items and one has five. When I view the one with three I see the correct three as well as the fourth and fifth item from the other switchboard!

I have the main switchboard marked as default. Does that mean it is the defaut design or that it is the one that opens when the program launches? This seems related to the fact that I only have one switchboard to select from in the form list, how can I have each switchboard listed here to design them independently?

Thanks much for any suggestions.

Reply With Quote
  #2  
Old February 6th, 2004, 10:27 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 14
Did you create you switchboard using the Switchboad Manager?

S-

Reply With Quote
  #3  
Old February 8th, 2004, 10:33 AM
matthewjdennis matthewjdennis is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 7 matthewjdennis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 43 sec
Reputation Power: 0
Yes. For the first one, I went under Tools/Database Utilities/SwithBoard Manager.. and since no switchboard existed, I got the create new dialogue box.

After that, I created the others from the switchboard manager (By selecting new). Now, when I open the switchboard manager I see the four switchboards that I have created.

Thanks.

Reply With Quote
  #4  
Old February 9th, 2004, 09:35 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 14
The switchboard you marked as default is the switchboard used when you launch the program. As for you otehr problems, I have never had that problem that you are describing when using switchboard manager. I have had those problems when I was first learning how to tweak the exisiting switchboard code to meet my specific needs. If you can post you DB and I will look at your Switchboards (or put on an FTP site).

S-

Reply With Quote
  #5  
Old February 9th, 2004, 11:19 AM
matthewjdennis matthewjdennis is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 7 matthewjdennis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 43 sec
Reputation Power: 0
Quote:
Originally Posted by sbaxter
The switchboard you marked as default is the switchboard used when you launch the program. As for you otehr problems, I have never had that problem that you are describing when using switchboard manager. I have had those problems when I was first learning how to tweak the exisiting switchboard code to meet my specific needs. If you can post you DB and I will look at your Switchboards (or put on an FTP site).

S-


How would I post the DB? m.

Reply With Quote
  #6  
Old February 9th, 2004, 12:47 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 14
First you Compact your DB and then you Zip it.

The when you reply to this post about 6 inches down you will see a button on the screen here that says manage attachments. Follow the instructions

If it is too big go to Yahoo and get you free breifcase (FTP site) and send me a private message telling me the username and password and I will download it from there.

S-

Reply With Quote
  #7  
Old February 13th, 2004, 05:22 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 14
Okay here is the deal.

For some reason you thought that you needed to remove four of the Buttons from your switchboard. Doing this gave you an error when it ran the code

For intOption = 2 To conNumButtons
Me("Option" & intOption).Visible = False
Me("OptionLabel" & intOption).Visible = False
Next intOption


Instead of changing
Const conNumButtons = 8
TO
Const conNumButtons = 4

You decided to remove the code
Me("Option" & intOption).Visible = False
Me("OptionLabel" & intOption).Visible = False


Which hides buttons not in use. Now you button don't hide and stay displayed.

Add this back

Me("Option" & intOption).Visible = False
Me("OptionLabel" & intOption).Visible = False

and change to this

Const conNumButtons = 4


S-

PS the odds of you only using 4 buttons ever on the switchboad is 50:1 against you

You already need more then 4 even now. You report generation switchboard doens't have a return to previous menu to get you back to the main menu.

Increase you count back to 7 (you have the more) and adjust the Const conNumButtons = 7

Good luck

Reply With Quote
  #8  
Old February 14th, 2004, 09:36 AM
matthewjdennis matthewjdennis is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 7 matthewjdennis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 43 sec
Reputation Power: 0
Thumbs up

Quote:
Originally Posted by sbaxter
Okay here is the deal.

For some reason you thought that you needed to remove four of the Buttons from your switchboard. Doing this gave you an error when it ran the code

For intOption = 2 To conNumButtons
Me("Option" & intOption).Visible = False
Me("OptionLabel" & intOption).Visible = False
Next intOption


Instead of changing
Const conNumButtons = 8
TO
Const conNumButtons = 4

You decided to remove the code
Me("Option" & intOption).Visible = False
Me("OptionLabel" & intOption).Visible = False


Which hides buttons not in use. Now you button don't hide and stay displayed.

Add this back

Me("Option" & intOption).Visible = False
Me("OptionLabel" & intOption).Visible = False

and change to this

Const conNumButtons = 4


S-

PS the odds of you only using 4 buttons ever on the switchboad is 50:1 against you

You already need more then 4 even now. You report generation switchboard doens't have a return to previous menu to get you back to the main menu.

Increase you count back to 7 (you have the more) and adjust the Const conNumButtons = 7

Good luck


Thanks a ton! You are exactly correct. When I got the debug message I deleted that part of the code (thinking it was the bug) and tried to just go on. This happened a couple times. Since I have gotten very far with the switchboards do you suggest I delete all of them and start from scratch to make sure nothing else is screwed up? Can I save the layout?Thanks again! Matt PS This means that every switchboard has to have the same number of buttons, right? But not all will be visible, right? One more thing, how do I know where to insert that code if i don't just scrap what I've done? I greatly appreciate your time.

Reply With Quote
  #9  
Old February 14th, 2004, 03:42 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 14
Look for this code in the form

For intOption = 2 To conNumButtons

Next intOption


And put the following code in the middle of the next statement

Me("Option" & intOption).Visible = False
Me("OptionLabel" & intOption).Visible = False





You best bet would be to remane the switchboad form and start over.

S-

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Switchboard layouts


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 7 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek