Yippiekaiaii
Registered User.
- Local time
- Today, 22:33
- Joined
- Mar 25, 2013
- Messages
- 21
I am trying to apply a filter to a datasheet subform using a combo box.
This is the code I have used on the "after update" event:
[Ordering - Price list items].Form.Filter = "[Secondary Category]=" & Combo72.Column(1)
[Ordering - Price list items].Form.FilterOn = True
When I run the query i get the following error:
Runtime error 3021:
No current record
Im not sure why it isnt working as this is how I have set up other combo box filters and it worked fine.
Any ideas what im doing wrong?
This is the code I have used on the "after update" event:
[Ordering - Price list items].Form.Filter = "[Secondary Category]=" & Combo72.Column(1)
[Ordering - Price list items].Form.FilterOn = True
When I run the query i get the following error:
Runtime error 3021:
No current record
Im not sure why it isnt working as this is how I have set up other combo box filters and it worked fine.
Any ideas what im doing wrong?
Last edited: