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

 Need Help!!! Please???

Print topic Send  topic

Author Message
TConnor@SC.RR.Com
Posted: 11/23/2002, 12:25 PM

I am working on a messaging application using the Task Manager Applocation Tutorial as a guide. I want to limit records in a grid to the current user and user_id 1. I am NOT ASP literate. My setup includes CCS 1.7, ASP 3.0 with Templates, Win2000, Access DB with Jet connection.

My Message Table includes:

MessageID
MessageToID
MessageFromID

My Users Table includes:

user_id

I want to show only those records that have the same User_ID and MessageToID or User_ID 1. If someone would please walk me through this?

Thank You
T Connor
TConnor@SC.RR.Com
Edd
Posted: 11/24/2002, 8:53 PM

Am I looking at your issue too simplistically?

Can you not change your SQL statement to test if UserID = Userid From the Session (Not the URL) Also changing the AND to an OR condition at the end and adding an Expression (not a parameter from the same drop down) that says where "MessageToID = 1".

Hope this helps.

Edd

   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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