Hi all,
I realise this has been discussed in other thread but the ones i've found refer to unbound checkboxes and single forms/sub forms.
I have a Split form displaying parts information and have all data displayed from the table including an obsolete field which is a Yes/No checkbox.
I want to display ONLY unchecked fields on a button click.
I have tried this code so far but it didn't seem to have any effect
Commands:
- cmdCurrent = show all unchecked fields
- cmdShowAll = show all fields
- cmdSearch = filter based on textbox entry
Other:
There is also a hyperlink in each field (on the form only) to open each individual record for editting.
I hope this is all the information needed. I can post the code for all other commands if needed
Field in question is chkObsolete
Command in question cmdCurrent
Many thanks
James
I realise this has been discussed in other thread but the ones i've found refer to unbound checkboxes and single forms/sub forms.
I have a Split form displaying parts information and have all data displayed from the table including an obsolete field which is a Yes/No checkbox.
I want to display ONLY unchecked fields on a button click.
I have tried this code so far but it didn't seem to have any effect
Code:
Private Sub cmdCurrent_Click()
Me.chkObsolete.Visible = Nz(Me.chkObsolete.Value, True)
Me.Requery
End Sub
Commands:
- cmdCurrent = show all unchecked fields
- cmdShowAll = show all fields
- cmdSearch = filter based on textbox entry
Other:
There is also a hyperlink in each field (on the form only) to open each individual record for editting.
I hope this is all the information needed. I can post the code for all other commands if needed
Field in question is chkObsolete
Command in question cmdCurrent
Many thanks
James