Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Change  to CheckBox Option

Posted on 2013-01-15
7
Medium Priority
?
389 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
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Suggested Courses

864 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