CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 How do I...

Print topic Send  topic

Author Message
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!

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.