A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Toggle buttons: need expert help



 
 
Thread Tools Display Modes
  #1  
Old December 22nd, 2006, 09:27 AM posted to microsoft.public.access.forms
scubadiver
external usenet poster
 
Posts: 1,673
Default Toggle buttons: need expert help

I am trying to apply the same technique used in the customer contact form in
the Northwind Database for my own. I have done something similar in another
DB using radar buttons and it works fine.

For this one I am using toggle buttons for the letters A-S and "All" (for
all records). I have used the "option group" wizard so I know they are toggle
buttons and each button has its own option value. As it is in "Northwind",
the option group is in the footer of the form.

For some reason, the buttons won't stay depressed.

Can someone possibly enlighten me?



  #2  
Old December 22nd, 2006, 11:11 AM posted to microsoft.public.access.forms
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default Toggle buttons: need expert help

Hi

Can you post the OnClick event code

--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"scubadiver" wrote:

I am trying to apply the same technique used in the customer contact form in
the Northwind Database for my own. I have done something similar in another
DB using radar buttons and it works fine.

For this one I am using toggle buttons for the letters A-S and "All" (for
all records). I have used the "option group" wizard so I know they are toggle
buttons and each button has its own option value. As it is in "Northwind",
the option group is in the footer of the form.

For some reason, the buttons won't stay depressed.

Can someone possibly enlighten me?



  #3  
Old December 22nd, 2006, 11:16 AM posted to microsoft.public.access.forms
scubadiver
external usenet poster
 
Posts: 1,673
Default Toggle buttons: need expert help

Hello

there isn't an onclick event code. What are you referring to?

I sorted out my other problem. I redid the two forms so I don't what happened.

"Wayne-I-M" wrote:

Hi

Can you post the OnClick event code

--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"scubadiver" wrote:

I am trying to apply the same technique used in the customer contact form in
the Northwind Database for my own. I have done something similar in another
DB using radar buttons and it works fine.

For this one I am using toggle buttons for the letters A-S and "All" (for
all records). I have used the "option group" wizard so I know they are toggle
buttons and each button has its own option value. As it is in "Northwind",
the option group is in the footer of the form.

For some reason, the buttons won't stay depressed.

Can someone possibly enlighten me?



  #4  
Old December 22nd, 2006, 12:06 PM posted to microsoft.public.access.forms
scubadiver
external usenet poster
 
Posts: 1,673
Default Toggle buttons: need expert help


I have tried creating an option group in a blank form and the toggle buttons
works fine.

Now I don't know why my other form won't work.

"Wayne-I-M" wrote:

Hi

Can you post the OnClick event code

--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"scubadiver" wrote:

I am trying to apply the same technique used in the customer contact form in
the Northwind Database for my own. I have done something similar in another
DB using radar buttons and it works fine.

For this one I am using toggle buttons for the letters A-S and "All" (for
all records). I have used the "option group" wizard so I know they are toggle
buttons and each button has its own option value. As it is in "Northwind",
the option group is in the footer of the form.

For some reason, the buttons won't stay depressed.

Can someone possibly enlighten me?



  #5  
Old December 22nd, 2006, 01:45 PM posted to microsoft.public.access.forms
scubadiver
external usenet poster
 
Posts: 1,673
Default Toggle buttons: need expert help

I can't believe I have been such an idiot. On the data tab in the form
properties I had all the data options set to "no".

doh!

"Wayne-I-M" wrote:

Hi

Can you post the OnClick event code

--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"scubadiver" wrote:

I am trying to apply the same technique used in the customer contact form in
the Northwind Database for my own. I have done something similar in another
DB using radar buttons and it works fine.

For this one I am using toggle buttons for the letters A-S and "All" (for
all records). I have used the "option group" wizard so I know they are toggle
buttons and each button has its own option value. As it is in "Northwind",
the option group is in the footer of the form.

For some reason, the buttons won't stay depressed.

Can someone possibly enlighten me?



  #6  
Old December 22nd, 2006, 01:47 PM posted to microsoft.public.access.forms
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default Toggle buttons: need expert help

Hi

I suggest you simply delete that toggle group from the form where it is not
working and use the wizard to create another one.

The OnClick event is what you want to happen when you click (press) one of
the buttons in the group. You need to tell your DataBase what the group
does. It could set the value of another field, save the "option" to a table,
etc,etc. Basically what does the option group "do".

If you could let us have some idea of the "reason" you have the option group
it may be that someone could help you




--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"scubadiver" wrote:


I have tried creating an option group in a blank form and the toggle buttons
works fine.

Now I don't know why my other form won't work.

"Wayne-I-M" wrote:

Hi

Can you post the OnClick event code

--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"scubadiver" wrote:

I am trying to apply the same technique used in the customer contact form in
the Northwind Database for my own. I have done something similar in another
DB using radar buttons and it works fine.

For this one I am using toggle buttons for the letters A-S and "All" (for
all records). I have used the "option group" wizard so I know they are toggle
buttons and each button has its own option value. As it is in "Northwind",
the option group is in the footer of the form.

For some reason, the buttons won't stay depressed.

Can someone possibly enlighten me?



  #7  
Old December 22nd, 2006, 08:25 PM posted to microsoft.public.access.forms
raskew via AccessMonster.com
external usenet poster
 
Posts: 370
Default Toggle buttons: need expert help

Hi -
Check the AfterUpdate action of the group itself. This is where your action
occurs, not under each button

Bob

scubadiver wrote:
I have tried creating an option group in a blank form and the toggle buttons
works fine.

Now I don't know why my other form won't work.

Hi

[quoted text clipped - 12 lines]

Can someone possibly enlighten me?


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200612/1

 




Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.