You are using a constant, not a variable in your Filter statement:
Change this:
rst.Filter "StudentNam ='temp'"
To this:
rst.Filter "StudentNam ='" & temp & "'"
|
Results 1 to 7 of 7
Thread: FilterThreaded View
|
Click Here to Expand Forum to Full Width |