CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 ADD Button

Print topic Send  topic

Author Message
Johnny
Posted: 06/15/2003, 4:27 PM

If there an easy solution to Avoid ADD record when the records are
Greater then 1000?

Hide de ADD Button?
or Just a Message after the try to add?

Thank in Advanced!
rrodgers
Posted: 06/16/2003, 6:03 AM

You don't say what tools you are using?

If the DB supports them (Triggers, and transactions) I would use a Trigger that cancels the transaction. Just raise a nicly worded error. That would be the easiest. If the DB doesn't then you probably need to to both of what you said. Because someone could call the update page directly (skipping the grid page) without a valid primary key value and it would go into insert mode.

rob

   


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.