Only One Option
May 23, 2006
Hi,
I have a list of four options and i want the user to be only able to click one option and not have multiple options ticked, so once one option is clicked the others cant be clicked whilst that one is clicked
in other words you have to untick your option to pick a differnt one
View Replies
ADVERTISEMENT
Mar 14, 2008
I’m really stuck on how to create: Check Boxes/Option button/Option Group in VBA.
Could someone help on either all of them or some of them please?
Thanks
Richard
View 2 Replies
View Related
Aug 18, 2006
I am using an Access database for a foreign language dictionary project.
One of the forms I use is populated by a query (qryLemmaTable) to retrieve information from tblLEMMA.
This form works precisely as I intend it to work, but there is a glitch on it that is driving me mad.
The form in question has an option group with 11 radio buttons that correspond to the parts of speech associated with each word in tblLEMMA.
When I click on the button optAdjective I apply a filter and the only records that are displayed are adjectives. (The same applies for Nouns, Verbs, Prepositions etc.)
Here is the glitch: even though the radio buttons apply the filter correctly, no “black spot” appears in the button. Other signals on the screen let me know what word type is selected, so I can accomplish what I want, but I want the “black spots” too!
Perhaps this will be a clue: For each radio button I use the following code in the GotFocus event.
Me.FilterOn = False
Me.Filter = "wordtype = 'A'" ‘(or N, etc)
Me.FilterOn = True
And this for the Lost Focus event
Me.FilterOn = False
Thanks for the help.
View 3 Replies
View Related
Aug 22, 2005
Hi
I've got an Option Group with 3 options; Yes, No and Future.
I also have a range of Check Boxes; 1 for every day of the week.
When one of the check boxes is selected I want the Option Group to change to Yes.
Currently, the Option Group defaults to Future and No will only be available by manually selecting it. This doesn't need to be changed.
Any help will be greatly appreciated!
Cheers
View 2 Replies
View Related
Jul 25, 2013
I stumbled upon the Option Group function just yesterday and, happy as a clam, I created a group with 2 options in radio button style. I assigned the values to a field called Registration_Type as the 2 options are "Confirmed Registrants" and "Prospective Attendees".
[Great. That part works well. When I look at the table, a 1 or a 2 is in that field so it's great to know how to control accidental ticking of radio buttons (previous 450 records or so didn't have this option group functionality so one might easily tick one of the buttons. So one part of controlling option group I know I can handle via the table itself for now.]
The challenge is how to ensure the user always ticks one or the other ... I went back to the main table and tested the 'required entry' option for the Registration_Type field but forcing an action like this is not ideal in my mind. The usual error message vagueness for the average user is no good and I don't want to limit the user so much.
Is there a way to simply have a popup come up warning that neither radio button was ticked? Perhaps something linked to the form - i.e., maybe "after update"?? I only learned about attaching code to before and after update on controls a couple of days ago, so not sure if this would be best approach.
Just something to let the user know that nothing has been ticked in the option group as that controls in which of 2 reports the data will show up in so any record not ticked might mean a registrant being left out, which would be rather disastrous <g>.
View 1 Replies
View Related
Jun 6, 2005
Lets say that I have a large list of locations in a listbox. What I want to do is to be able to have an option button that I can press in that will sort these locations. Like 3 or 4 different buttons, lets say like retail, finance, ect. Anyone know what kind of code I might have to use to make these sort on clicking the option button?
View 4 Replies
View Related
Apr 25, 2006
I made on option box on a form called Status. The 2 radio buttons are marked Open = 1 and Closed = 2. Is it possible to open a query based on what the user selects. In the query I want open to stand for Is Null and closed would be Is Not Null. I know this sounds unusual but it works in the query they way I want it to. Is this possible? Thanks...
View 2 Replies
View Related
Oct 24, 2006
I got an MS Access 2003 db which I think has an general option disbabled or so dnno, here's the case:
When I create a query, and choose to close the query (just be clicking the "X" button at the top), Access doesn't ask me to save the query or not.. it directly displays the box to fill in the name of the query
When I execute an action query, Access just executes it when I click "!" button, without asking me if I want to "deleting, updating, adding xx records"
I've been searching ages to find an option to enable but I can't seem to find anything
Can anybody help me?
View 3 Replies
View Related
May 31, 2007
Hi,
I have an existing desktop Access database for a Membership system which is working fine (+- 1000 members). We have an existing website that is also working fine and developed using Frontpage 2003 - due for conversion to Expression Web.
Challenge:
We want to offer a facility for members to update their details online via the website. That's the easy part - my query is how do I manage to synchronise both the desktop and the website DB? Replication seems to have disappeared with Access 2003.
New members would be added locally whereas updates would be handled either locally or remotely.
Any ideas very welcome.
Regards
Tony Randell
View 2 Replies
View Related
Jun 21, 2007
Say I have two bubbles (options,buttons, whatever you know them as) I want the system to be set up so that only one of the two can be "true" at a time. Say they are titled Option1, and Option2. What code would I put on them so only one can be "true" at a time. If Option1 was true, and then someone clicked on option2, I want it to cause option 1 to go false.
Any help would be greatly appriciated. THANK!
View 3 Replies
View Related
Feb 25, 2008
Hi Everyone,
I have a message box that says "Backup complete" but it has an Ok button. Is there a way for the user to see the message and then close without hitting the ok button?
here's my code
MsgBox "Backup was successful and saved", vbInformation, "Backup Completed"
Thank you
View 6 Replies
View Related
Feb 24, 2005
I have a table called students and one attribute is called Ethniticity and have a text datatype.......I'm setting up a form to add a new student.... for the Ethniticity part I set up a set of combo boxes ---- African American, White, Hispanic, Native American, Asian, Multicultural, Other: ---- beside the "other" option there's a text field where the user can type in their own answer. I want the text for the option selected to be placed in on the student table in the ethniticity field and if the "other" selection is selected the text in the textfield will be placed on the students table........................how could i get this to work???? any help would be appreciated
View 1 Replies
View Related
Mar 3, 2005
At present I have a form which is used to select a date range then using one of three buttons I can select one of three reports. I want to use an Option Group with three options to replace the three buttons. I have fiddled around using three separate Option Buttons and they work ok but in my opinion they are not the way to go. I need some assistance with the code as the Option Group is slightly different to the Option Buttons.
View 5 Replies
View Related
Jun 20, 2005
Hello...
I am a newie to the forum... but like the system.
I was wondering if anyone can provide either some tips or sample of how to set up a form that give you the option of linking it to one of two forms.
Say the Main Form = General Plant Description
Sub Form One is for Info on Tractors
Sub Form Two is for Info on Trucks.
On the main form you select an option to show one of the subforms.
I have spent about 1.5 hrs trying to search the forum and so far havent found specific advice on this issue.
Thanks in advance.
Dave P
View 4 Replies
View Related
Jul 11, 2005
Hello,
Still trying to figure things out with this software. Never have messed with it much. The question that I have is this. We have about 9 forms that we will be filling out. I was originally going to have it to where you swapped between the forms in order to put the data in that we needed but was wondering if its possible to create 1 single form. Have a Mult Option box in place and depending on how that box is checked will depend on where the data is going to be stored. Is this possible? As I have said i'm new so forgive me for not knowing a whole lot.
Thanks
View 2 Replies
View Related
Jul 16, 2005
Hello...
Here is what i have, a database with names, addresses and all sorts of information.
I have made an answer query that the report form is based off of with all the fields needed. The fields will not change from here on out.
I also have a form, which I have successfully bring up the report.
(big step for me, newbie here )
So, now, new queries will have to be made from the form, which is where I get lost.
Sometimes it will need to be filter based on zip code, mostly thats what it will be, but I have to have the option of doing it other ways.
whats the best way to go about this?
pleaes be specific as im new to this kind of thing.
Martin
View 2 Replies
View Related
Jul 19, 2005
I have a very simple option group, status 1, 2 , 3 or 4. When the status of the group is changed i have the following code used to label txtStatusChangeAudit which lables who changed it based on the log in name. I have this code for each of the four options. The code works great but when i leave the form and come back to it the txtStatusChangeAudit that holds the code is now blank. When i click an option it again shows the information i want.
How do i get the form to save this information so when i leave the form and come back to it the last person to change the status will still be present?
Private Sub OpenOptionButton_GotFocus()
Me.StatusChangeAudit = "Status Open By; " & User.UserName & Space(1) & (Now)
End Sub
Thanks a million..
Fen
View 1 Replies
View Related
Jul 30, 2005
This should be an easy one.... I had an existing form. Needed a second form. But the two were so close I just added and option group to make certian fields visible when that option was picked. Now.... The problem is sorting or doing a query by the value of the option group. What I am thinking is I need to store the value of the option to a field. ie My option group is named "PickWO" the value is "1" or "2", so I added a field to my WO table... so how do I store the value of "1" or "2" to the new field? Hope this makes sense!
View 9 Replies
View Related
Oct 4, 2005
Some background: I posted last week seeking help starting my first access project. I am trying to create a database that will allow me to enter every employee in our company along with their foreign language skills (and other skills) that they have.
Then I want to be able to create a form that will allow me to search for all the employees that have a certain skill combination (or better) that I am looking for.
Thanks to a lot of help from this form I was able to make a lot of progress.
I have three tables. One table with employee name and number, one for language/skill and language/skill number and a junction table that I want to query.
But now I am stuck on what I believe is the final step; Creating the form control that will query my junction table.
Can someone get me started on how exactly I can implement this? Is a List Box my best option?
Do I have to code it in SQL? How do I do this? Any beginner tutorials online? I couldn't find any.
I had a combo box that allowed me to search for ONE language/skill and that worked fine but I need to be able to search for employees that have combinations. Do I need a List Box for this?
Because I will in the end have about 20 languages+skills in the list I was hoping to use checkboxes on a form.
In this way I could just check next to all the skills I want, hit the control button and it would return everyone that met the requirment + anyone that exceeded the requirement. This seems better than a long list box with 20+ options.
Any ideas? I will attach my project and would appreciate help.
Thanks!
Rush
View 2 Replies
View Related
Jan 13, 2006
Hello Everyone.
I have a form that gets its data from a query.
There is a field in the query called "FinalisedDate" which is a date/time field. I want a button called Current that when pressed it shows all records where the FinalisedDate field is Null which is to be the default of when the form is open.. Another button called "Aged" is pressed it only shows records that have the FinalisedDate field has a value (i.e. not null). I want another button that shows All Records (i.e Current and Aged).
I hope anyone can help. I have searched the forums but did not find a similar problem that I can copy.
Regards
View 1 Replies
View Related
Feb 28, 2006
Apologies if this has been answered before.
I am an inexperienced Access Database writer who wants to learn more - so first question, are there any Access Gurus' near to Buckingham/Milton Keynes UK that would be willing to spend a couple of hours showing me advanced access programming with a specific databsae in mind (i have a more complicated one than the one attached to attempt) (paid of course).
Secondly, I have a form which I would like to finish this week and am struggling with. The main form is frm_PatientDetails. I am trying to add a subform frm_Practitioner which shows a drop down box of the practitioners names, but allows you to choose more than one. This is a many to many relationship as a patient can have more than one practitioner and a practitioner has more than one patient. I have had a go at creating a junction table, and a query, but got a feeling i'm doing it all wrong.
I've attached the database, so any other feedback on what i've done right and wrong would be much appreciated.
Thanks in advance for the help.
View 3 Replies
View Related
Mar 15, 2006
Hello,
I have a combo which I have set to activate successive combos when a selection is made in it.
Unfortunately if you delet what is in it i.e. to make it empty it does not deactivate the other combos. I presume this is a peculiarity with combos as once you have clicked in it it is active?
is there anyway of getting Acess to recognise you don't want to use a particular combo by removing the data manually or by selecting a 'none' option in the combo?
Does this make any sense?
View 1 Replies
View Related
Mar 23, 2006
I'm working on a survey database, I'm having the users select the opton button to rate (1 - 10). Then as an after thought, I thought I would add a button that says N/A or doesn't apply. Course option buttons store numbers.
ANy idea's on how to accomplish this? What ever value gets stored I wouldn't include it in the results.
View 1 Replies
View Related
May 30, 2006
Hi peeps,
I am encountering a few problems when I'm using the options button on a form.
Is there a way for the options button to display a different value instead of a -1 when the data is transfered to a linked table? i.e Good or Poor or Fair?
Also can a number of option buttons have the same control souce? at the mintue I have three buttons pointing at one control souce and when I select one of the buttons they all get selected.
Any help will be much appreciated.
View 14 Replies
View Related
Dec 7, 2006
I have a table that has 300+ peoples names on it. Each of these people has a region they belong to 1,2,3,or 4. I also have a form that has 3 combo boxes that are linked to this one table. This information is sensitive and can change by importing new data as well. Is there a way that I can add 4 option buttons, depending on what the user clicks on Opt1, 2, 3, or 4... that is what populates the combo boxs? This seems rather simple, but I can't figure it out.
View 1 Replies
View Related
Nov 23, 2004
This is a multi-faceted question may the answer to the first may help the second.
I have two option groups each with two options in each.
The first is called Frame 57 and has two options A ( the wizard assigned a value of 1) and B (assigned a value of two).
The second is called frame 58 and has two options C ( the wizard assigned a value of 1) and D (assigned a value of 2).
I have set enable on Frame 58 to No.
My aim:
If I choose A in Frame 57 then I want Frame 58 (with both options) to become enabled.
If I choose B in Frame 57 then I want Frame 58 to remain un-enabled.
When writing the code do I
Put it in the Click event of the FRAME?
and should i refer to the option groups by their name (ie: A or B) or by their assigned value (1 or 2).
This is what I have at the moment
Private Sub Frame57_Click()
If Frame.57 = 1 Then
Frame58.Enabled = True
Else
Frame58.Enabled = False
End If
End Sub
This seems to work though when I return close and re-open the form Frame 58 (even if it was chosen and enabled) is now not enabled even though the option is Frame 57 is correct and visible.
Hope this makes sense - any help appreciated
View 4 Replies
View Related