Hey all! Im working on a basic filter in a task list. Firstly please forgive my strange naming conventions, I have had no formal training in access so I just make it up as I go along.
Anyway, what im after is a check box called [onlyComplete] which is located at the top of a task list called [All Tasks]. The idea is that 'After Update' on this checkbox, the Me.Requery kicks in. The criteria for the query is based on the 'complete' field and looks like this:
Code:
IIf([Forms]![All Tasks]![onlyComplete]=-1,0,<1)
Now this is supposed to display either the incomplete tasks only or all the tasks, however it is either displaying the incomplete or complete but not both.]
Im sure its something stupid im missing here, like I say Im quite new to this and I have only a basic understanding of the coding etc.
Any help is as always appreciated guys! Many thanks in advance