CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Stripping a field on update

Print topic Send  topic

Author Message
Henryk

Posts: 63
Posted: 03/18/2005, 6:36 AM

On update of a form I would like the hidden field for username to be stripped and replaced with the new username. I have the default value set as username. Once they pull up the record to update I would like the hidden field for username to be nulled out or something so that the current users username is replaced in there. Thanks!
View profile  Send private message
Oper


Posts: 1195
Posted: 03/18/2005, 8:43 AM

Hi henryk

To replace Name use on Before Show Event:
  
Formname.Hiddenname.value=ccgetuserlogin()



_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Henryk

Posts: 63
Posted: 03/18/2005, 11:34 AM

Works like a charm, thank you! Immensely useful for a variety of other options as well. I appreciate it Oper!
View profile  Send private message

Add new topic Subscribe to topic   


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.