Good Morning,
Using the following filter works fine
Student.Filter = "[Class ID]= 270"
But when replaced by the following it does not work:
p = 270
Student.Filter = "[Class ID]= p"
The error message is: 3061 "Too few parameters. Expected 2.
These codes look identical I wonder why the second one dosen't work.