CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Events question.

Print topic Send  topic

Author Message
Steffan Ng
Posted: 07/29/2002, 9:39 PM

Hi,

I was try the following codes that i found under CCS help file. And insert
it in to
events --> before show.
Anyway I just got an error message said that there's an error at
CCGetUserID. But if I remove "else" and publish project, than it work.


~~~~~~~~~~~ CODE ~~~~~~~~~~
if tasks.EditMode then
tasks.user_id_assign_by.Value = CCDLookUp("emp_name", "employees", "emp_id="
& CCToSQL(tasks.user_id_assign_by.Value,"Integer") , DBIntranetDB)
else
tasks.user_id_assign_by.Value = CCDLookUp("emp_name", "employees", "emp_id="
& CCToSQL(CCGetUserID,"Integer"), DBIntranetDB)
end if

~~~~~~~~~~~ END ~~~~~~~~~~~


   


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

Web Database

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.