![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have an unbound checkbox on a form and I would like to limit the records based on the checkbox. Here's the data: Form: frmProducts Table behind form: tblProducts unbound checkbox: chkShowDiscontinued Dependent field from table and form: chkDiscontinued (also a checkbox) When chkShowDiscontinued = False, I want to show records where chkDiscontinued = false When chkShowDiscontinued = True, I want to show all the records recordcount = hundreds of records I have done this in several different ways and I wanted to bounce this idea off several people to see if anyone has any better ideas for making it work. None of mine have worked so far. Not 100% anyway and I'm tired of dealing with it. WhathaveIdone? |
#3
| |||
| |||
|
|
I have an unbound checkbox on a form and I would like to limit the records based on the checkbox. Here's the data: Form: frmProducts Table behind form: tblProducts unbound checkbox: chkShowDiscontinued Dependent field from table and form: chkDiscontinued (also a checkbox) When chkShowDiscontinued = False, I want to show records where chkDiscontinued = false When chkShowDiscontinued = True, I want to show all the records recordcount = hundreds of records I have done this in several different ways and I wanted to bounce this idea off several people to see if anyone has any better ideas for making it work. None of mine have worked so far. Not 100% anyway and I'm tired of dealing with it. WhathaveIdone? |
#4
| |||
| |||
|
|
I have an unbound checkbox on a form and I would like to limit the records based on the checkbox. Here's the data: Form: frmProducts Table behind form: tblProducts unbound checkbox: chkShowDiscontinued Dependent field from table and form: chkDiscontinued (also a checkbox) When chkShowDiscontinued = False, I want to show records where chkDiscontinued = false When chkShowDiscontinued = True, I want to show all the records recordcount = hundreds of records I have done this in several different ways and I wanted to bounce this idea off several people to see if anyone has any better ideas for making it work. None of mine have worked so far. Not 100% anyway and I'm tired of dealing with it. WhathaveIdone? |
#5
| |||
| |||
|
|
Field: chkDiscontinued Criteria: Forms!frmProducts!chkShowDiscontinued OR (Forms!frmProducts!ChkShowDisContinued=True) In query design view -- Enter Forms!frmProducts!ChkShowDisContinued in a blank FIELD "box". -- Criteria (line 1): True * * Criteria (line 2) : leave it blank For chkDiscontinued field set it up this way Field: chkDiscontinued Criteria (line 1): Leave it blank Criteria (line 2) : Forms!frmProducts!chkShowDiscontinued John Spencer Access MVP 2002-2005, 2007-2010 The Hilltop Institute University of Maryland Baltimore County WhathaveIdone? wrote: I have an unbound checkbox on a form and I would like to limit the records based on the checkbox. Here's the data: Form: frmProducts Table behind form: tblProducts unbound checkbox: chkShowDiscontinued Dependent field from table and form: chkDiscontinued (also a checkbox) When chkShowDiscontinued = False, I want to show records where chkDiscontinued = false When chkShowDiscontinued = True, I want to show all the records recordcount = hundreds of records I have done this in several different ways and I wanted to bounce this idea off several people to see if anyone has any better ideas for making it work. None of mine have worked so far. Not 100% anyway and I'm tired of dealing with it. WhathaveIdone? |
#6
| |||
| |||
|
|
I have an unbound checkbox on a form and I would like to limit the records based on the checkbox. Here's the data: Form: frmProducts Table behind form: tblProducts unbound checkbox: chkShowDiscontinued Dependent field from table and form: chkDiscontinued (also a checkbox) When chkShowDiscontinued = False, I want to show records where chkDiscontinued = false When chkShowDiscontinued = True, I want to show all the records recordcount = hundreds of records I have done this in several different ways and I wanted to bounce this idea off several people to see if anyone has any better ideas for making it work. None of mine have worked so far. Not 100% anyway and I'm tired of dealing with it. |
![]() |
| Thread Tools | |
| Display Modes | |
| |