This topic is locked

CONSTRAINTS

2/17/2005 6:00:45 PM
ASPRunnerPro General questions
W
WeB author

This is more of a SQL question. Im using MS SQL and im trying to create a constraint or some other way, maybe through ASPRunner.
Here is my example.

I have 5 fields and any of the 5 must have a value. So either one, some, or all the fields must have a value. Anyone know of a way I can do this either in ASPRunner or MS SQL Server?
Thanks in Advance

Sergey Kornilov admin 2/18/2005

I would recommend to create some kind of Jvascript validator that will check those five fields when user clicks Save button and throws an error message if all five fields are empty.

W
WeB author 2/18/2005

Thanks once again Sergey, you da man.