Ken
|
| Posted: 07/05/2002, 1:36 PM |
|
How do I select just the records for a specific user with CC Studio 1.0.5? I have a login form that validates a user then opens a form with all the data. I just want this user to see only their data. How is this done? Thanks!
|
|
|
 |
Ken
|
| Posted: 07/05/2002, 1:40 PM |
|
I am using PHP 4.0 with templates and MySQL.
|
|
|
 |
Chris K.
|
| Posted: 07/05/2002, 1:52 PM |
|
Select grid's DataSource property (Data tab). Click '...' button to open query window. Add new WHERE filtering ('+' button) and choose your user id field in the bound table, equals operator and put 'UserID' string as Parameter of Type 'Session'.
This will cause grid to display only records for currently logged-in user.
By the way, update to 1.0.6.0.
|
|
|
 |
Ken
|
| Posted: 07/05/2002, 1:58 PM |
|
Where is the upgrade located?
|
|
|
 |
Chris K.
|
| Posted: 07/05/2002, 2:13 PM |
|
Redownload from CodeCharge.com. CCS should give you notification on startup but you could have disabled it.
|
|
|
 |
Ken
|
| Posted: 07/06/2002, 8:30 PM |
|
Thanks your solution worked perfectly!
|
|
|
 |