srbaker
|
| Posted: 07/30/2001, 6:10 PM |
|
I'm new to CodeCharge and I'm having a problem grasping how to set a
filter.
I've created a login page. I've also created a default student info page
which contains a search and grid form.
This works fine except that all student records are displayed after an
administrator logs in.
After an administrator logs in, I would like only the records for his
department to be displayed for him to insert/edit/delete.
The table is StudentInfo and the field to be used in the filer is
DepartmentID.
I know that a session variable called "UserID" is created when a user logs
in.
I've tried creating an input variable of type "Session" in my grid form with
the variable name "UserID" corresponding to the database field
"DepartmentID".
When I click on "open default page" within CodeCharge, the filter is not
working. All student records are displayed.
I would appreciate any help in learning how to set filters in CodeCharge.
Sincerely,
Scott Baker
|
|
|
 |
|