CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Pass user info from login to s_field in grid searc

Print topic Send  topic

Author Message
GD
Posted: 04/16/2003, 8:40 AM

I would like to pass the UserName from login to a field for a grid search. I need more than a one or two word cryptic answer please, I'm a newbie.
gmoore
Posted: 04/16/2003, 3:51 PM

Are you trying to filter on the username or just place a label for it.

If filtering:
Add a parameter in the datasource for the grid and add a where clause...:

1. Username (field)
2. =
3. Variable for the username (parameter source - look under advanced security settings in the project settings).
3. Session (type)

If trying to add a label.
1. Add the label
2. Add a before show event action... retrieve value for control.
2. The control would be the name of the label. The type is session. The source is the name of the variable.

Hope this helps.

   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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