CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 How do i validate this?

Print topic Send  topic

Author Message
charles
Posted: 12/20/2005, 9:11 PM

i have a record form that is based on a table,payperiod, which has a field called period_status.When the user has finished processing the payroll for a period,he goes to a page where he updates the value of the period_status field to a value 2.
How can validate that a user cannot create a new Pay period if the period_status value of the last payperiod is not equal to 2
Regards
Charles
Theunis P
Posted: 12/29/2005, 2:51 PM

How about checking the status value in the update screen, and setting the - what ever method you use to initiate a new period - to invisible, with a label explaining why the option is not available?

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.

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.