English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i just want to add the sub1 and sub2 columns for which i set the validation rule of total to: [sub1]+[sub2]

but then i get the error: "Cannot use multiple columns in a column level check constraint"
what does that mean and how to get around it?

2006-07-06 01:51:42 · 2 answers · asked by Moony 2 in Computers & Internet Programming & Design

2 answers

Create table with 2 columns (sub1 and sub2)
and create a Query to display both along with calculated total (that the easiest way, but there are others).

Validation rule is used to validate entered value, not calculate it.

2006-07-06 06:52:17 · answer #1 · answered by D 2 · 0 0

you could probably do the same with only two columns (sub1 and sub2) and when you need the total just select sum(sub1,sub2).

2006-07-06 08:54:47 · answer #2 · answered by John J 6 · 0 0

fedest.com, questions and answers