Len Boorman
Back in gainfull employme
- Local time
- Today, 07:30
- Joined
- Mar 23, 2000
- Messages
- 1,930
If all gropus are in the single table then why does qry_Update appear
SELECT DISTINCT [List:Group].group, FROM [List:Group Classification] UNION Select null, "<All>" as Bogus FROM [Vendor Classification]
ORDER BY [Vendor Classification].Classification;
Problem is that we actually need two columns in the first bit so that the UNION bit which will have Null and <All> as values will match.
Otherwise you will have eithet <All> as a value in the combo box or null which may be acceptable if you put a note alongside to say select "blank" for all.
I was presupposing that you would have an identifier as PK and a description in the combo then you have Null and <All> values fitting nicely.
Len
SELECT DISTINCT [List:Group].group, FROM [List:Group Classification] UNION Select null, "<All>" as Bogus FROM [Vendor Classification]
ORDER BY [Vendor Classification].Classification;
Problem is that we actually need two columns in the first bit so that the UNION bit which will have Null and <All> as values will match.
Otherwise you will have eithet <All> as a value in the combo box or null which may be acceptable if you put a note alongside to say select "blank" for all.
I was presupposing that you would have an identifier as PK and a description in the combo then you have Null and <All> values fitting nicely.
Len