Originally Posted by
bubai
However, is there a way to see the records where RowLock value is unchecked/False?
Currently you just see records with RowLock = FALSE (i.e. unlocked records). Did you mean can you see locked records?
Originally Posted by
bubai
Or to see all records in this form?
For the form to display either locked or all records, an unbound check box in form header I described in end of my 1st post is a way to go. You select there what kind of records you want to see (not locked, locked or all). The number of selection (1, 2 0r 3) is the value according your selection attached to combo. The AfterUpdate event edits the filter condition and fires command FilterOn = TRUE to reset form's filter. And you have to change form's BeforeUpdate and AfterUpdate events too - the code must check combo's value, and then fire appropriate commands.
On fly the code for combo's AfterUpdate event will be something like
Code:
...
IF Me.cbbFormFilter = 1 THEN Me.Filter = 'RowLock = FALSE'
ELSEIF Me.cbbFilter = 2 THEN Me.Filter = 'RowLock = TRUE'
ELSEIF Me.cbbFilter = 3 THEN Me.Filter = ''
END IF
Me.FilterOn = TRUE
...