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  

An Option Group with external commands attached



 
 
Thread Tools Display Modes
  #1  
Old November 4th, 2006, 04:10 AM posted to microsoft.public.access.forms
Dave
external usenet poster
 
Posts: 6
Default An Option Group with external commands attached

I have an option group of 6 outside the frame there are 3 Cmd boxes ie,
print, preview, close.

I simply wish to preselect an option and Then click either say a "Print" or
"Preview", "Send" etc (or for that matter cancel).

I have the option group set up, the Cmd boxes etc, But how do I get say the
"Print" Cmd to print the preselected (report), say option 2 etc.??

Any help will be greatly appreciated
Dave


  #2  
Old November 4th, 2006, 04:17 AM posted to microsoft.public.access.forms
Rick Brandt
external usenet poster
 
Posts: 4,354
Default An Option Group with external commands attached

Dave wrote:
I have an option group of 6 outside the frame there are 3 Cmd boxes
ie, print, preview, close.

I simply wish to preselect an option and Then click either say a
"Print" or "Preview", "Send" etc (or for that matter cancel).

I have the option group set up, the Cmd boxes etc, But how do I get
say the "Print" Cmd to print the preselected (report), say option 2
etc.??
Any help will be greatly appreciated
Dave


In the code of each button...

Select Case Me.OptionGroupName
Case 1
' do one thing
Case 2
' do something else
etc..
End Select

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


  #3  
Old November 4th, 2006, 04:38 AM posted to microsoft.public.access.forms
Duane Hookom
external usenet poster
 
Posts: 2,251
Default An Option Group with external commands attached

This is the same question you asked in tablesdbdesign. Please limit your
questions to a single thread in a single news group.

--
Duane Hookom
MS Access MVP

"Dave" wrote in message
...
I have an option group of 6 outside the frame there are 3 Cmd boxes ie,
print, preview, close.

I simply wish to preselect an option and Then click either say a "Print"
or "Preview", "Send" etc (or for that matter cancel).

I have the option group set up, the Cmd boxes etc, But how do I get say
the "Print" Cmd to print the preselected (report), say option 2 etc.??

Any help will be greatly appreciated
Dave




 




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 07:57 AM.


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