CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> .NET

 [RESOLVED] Filter by User Logged In

Print topic Send  topic

Author Message

Posts: 64
Posted: 04/30/2008, 12:14 AM

How do you filter a grid by the username of the person logged in?
View profile  Send private message
Posted: 05/01/2008, 5:34 AM

Normaly one would do this not by the name (as it canchange) but by the
assigned userid.
Assuming your user table has an id, and that id is the one used in the login
If above is true and your grid table has the userid in it's layout, you
would apply a Where to your grids SQL, the where being:
userid = UserID, type Session

I would also set the default value of that Where to -1 causing the grid to
be empty of no UserID available.


"tsgroman" <tsgroman@forum.codecharge> schreef in bericht
> How do you filter a grid by the username of the person logged in?
> ---------------------------------------
> Sent from YesSoftware forum


Posts: 64
Posted: 05/01/2008, 9:31 AM

Thank you. Worked like a charm.
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

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

Home   |    Search   |    Members   |    Register   |    Login

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