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

 Help Please

Print topic Send  topic

Author Message
Sonia
Posted: 06/24/2002, 1:09 PM

Hi,

I am trying to add a custom welcome message at the top of my page like

Welcome User: "LoginName", Your access level is "AccessGroupID". This page is accessable when a user is successfully login.

Fields "LoginName" and "AccessGroupID" are in User's table. I am using ASP 3 and CCS 1.0, Could somebody please tell me how and where to put the code to get the above result...

My table name is Users and I know that there are functions available like CCDLookup OR CCGetUserID, but I don't know how to use them.

thnx! Sonia
Nicole
Posted: 06/26/2002, 1:10 AM

Sonia,
Drag Label field from ToolBox window-> Forms tab to the top of the page. To assign it Welcome message create Before Show file event like:
ASP
<field_name>.Value = "Welcome User " & CCGetUserLogin() & ", your access level is: " & CCGetGroupID()

   


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.