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
|
|
|
 |
|