Hey everyone! I need the syntax for MS SQL Server 2000 for a constraint. Here's what I'm trying to do, in plain english:
If [Terminal]='Wilmington, DE' then [Wilmington_Data] is not null
Basically, if the Terminal field is equal to Wilmington, DE, then I want the user to be required to put a value in a different field, [Wilmington_Data]. Anyone have any ideas? Right now, I have:
(((not([Wilmington_Data] is null))) and ((not([terminal] = 'Wilmington, DE'))))
Obviously, this doesn't work. Any ideas?
Thanks in advance!
Sincerely,
Chad
If [Terminal]='Wilmington, DE' then [Wilmington_Data] is not null
Basically, if the Terminal field is equal to Wilmington, DE, then I want the user to be required to put a value in a different field, [Wilmington_Data]. Anyone have any ideas? Right now, I have:
(((not([Wilmington_Data] is null))) and ((not([terminal] = 'Wilmington, DE'))))
Obviously, this doesn't work. Any ideas?
Thanks in advance!
Sincerely,
Chad