|
pd_it_guy -> RE: null records (6/20/2008 13:37:34)
|
Just one more observation on this. You allow the record to be added even when no type of work is known, or selected at the time. Rather than having a null datafield in record, which can cause some unexpected problems in comparisons and searches, since this is appears to be some sort of contactor's database and wherever and by whomever records are input, since there must be some finite number of types of work, if there is no pick to be made, make the choice to fill the field "not stated" That way, you always have something predictable in the field and then, if you want the users to get the records where they absolutely know the skill they want, but also want them to see the the not stated's in case they might also be of interest (we assume that is why you put that in the query to begin with) then the SQL becomes a much simpler OR.
|
|
|
|