CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Help Filter records shown on grid in CCS

Print topic Send  topic

Author Message
Lisa
Posted: 07/04/2002, 6:56 AM

Can someone help please. I am trying to filter records shown on a grid form based on user_id field from items table and session("UserID") variable. I know this can be done using an SQL statement of maybe a Dlookup function coded on the beforeShow function of a page, but I just don't know how to do it in CCS.
what I want to do is filter records shown on the grid form based on the current logged in user_id. If anyone knows how to do this, please help. I am using ASP 3.0 with Templates

Thanks
Chris K.
Posted: 07/04/2002, 9:17 AM

After you built your grid, select it and display its properties (Data tab). You see Data Source property there, click '...' button after table name. You see Data Source dialog. Add Where expression using '+' button. Choose field you want to match with user id, equals operator and put UserID as Parameter source of type Session. Confirm all windows. Now it should filter.

   


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.