Filter not working in Navigation Form

momoko

Registered User.
Local time
Today, 17:07
Joined
Oct 7, 2001
Messages
41
Hi,
I inherited this quote and trying to enhance it but having problem.

The filter in navigation form is not working but it is on its own form, the filter is working without problem. Would greatly appreciate any help.
 

Attachments

Thanks for your reply. However I really don't know how to change the code to make it work.
 
I've made a sample for you in the attached database.
Code:
Private Sub SelectItem_AfterUpdate()
  ChooseSelectItem "Demand", Me![Selection], Me![SelectItem], Me![Operator], Me![filter], Me![totalfilter], True[B][COLOR=Red], Me[/COLOR][/B]

End Sub
Code:
Sub ChooseSelectItem(Target As String, Selection As Control, SelectItem As Control, Operator As Control, filter As Control, totalfilter As Control, RecordsOn As Integer[B][COLOR=Red], TheForm As Object[/COLOR][/B])
    .....
    If RecordsOn Then
[B][COLOR=Red]      TheForm.Form.filter = "" & totalfilter & " " & filter
      TheForm.Form.FilterOn = True
[/COLOR][/B]    End If
    ....
 

Attachments

Users who are viewing this thread

Back
Top Bottom