?
Solved

Change  to CheckBox Option

Posted on 2013-01-15
7
Medium Priority
?
380 Views
Last Modified: 2013-01-15
Hello All,

Can you help me Change the “ShipName” field in the form to a checkbox instead?

Like a checkbox with “Jones” – when user click on it, it filters the subform by Jones?
Is that at all possible within the access limitations?

Sorry have something that due in few hours from now...
finalTestPleaseRev101.accdb
0
Comment
Question by:Rayne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 38780756
that is possible, but you will have a lot of checkboxes..


do you still want it?
0
 
LVL 61

Expert Comment

by:mbizup
ID: 38780773
0
 
LVL 61

Accepted Solution

by:
mbizup earned 2000 total points
ID: 38780779
By the way, there are no "Jones" records in the data in this file...

but look at the code in the checkbox's click event and change the text if needed:

Private Sub chkJones_Click()
    If Me.chkJones = True Then
         Me.frmSource.Form.Filter = "[Ship Name] Like '*Jones*'"
         Me.frmSource.Form.FilterOn = True
    Else
        Me.frmSource.Form.FilterOn = False
        Me.frmSource.Form.Filter = ""
    End If
End Sub

Open in new window

0
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

 

Author Closing Comment

by:Rayne
ID: 38781238
Awesome, that works like a Charm :)
Thank you
0
 
LVL 61

Expert Comment

by:mbizup
ID: 38781285
Thats a great article!   If you have done so yet vote yes at the bottom of the article and post a reader comment.
0
 

Author Comment

by:Rayne
ID: 38781295
thanks  mbizup, done :)
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Suggested Courses

765 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