Yet again another question:
I was hoping that I had learned enough that I could solve this simple problem by myself, but guess I haven't :-(
I want to apply a filter with a predefined condition by clicking on a command button. I have tried different types of statements and they all return the same results - no records - even though I know there are 385 records it should be showing me.
This is the code I tried using:
DoCmd.ApplyFilter , Me.AccessType = "PRP"
AccessType is a text field that has UAP or PRP in the field.
What am I doing wrong?
Thanks!
Ellie
**Using Access 97 at work**
**Using Access 2000 at home**
elliefant@qwest.net
I was hoping that I had learned enough that I could solve this simple problem by myself, but guess I haven't :-(
I want to apply a filter with a predefined condition by clicking on a command button. I have tried different types of statements and they all return the same results - no records - even though I know there are 385 records it should be showing me.
This is the code I tried using:
DoCmd.ApplyFilter , Me.AccessType = "PRP"
AccessType is a text field that has UAP or PRP in the field.
What am I doing wrong?
Thanks!
Ellie
**Using Access 97 at work**
**Using Access 2000 at home**
elliefant@qwest.net