Obviously John Vinson is also an MVP in Geography.
nah, just looked at the International section of the phonebook to refresh my
memory.
Two lists is acceptable if they are even lengths. How do I split them please?
You could base each Listbox on a query. Since the number of countries per
continent doesn't change all that often, I'd just hardcode the number of
countries in each to give you the right number: e.g.
SELECT TOP 11 CountryName
FROM Countries
WHERE Continent="South America"
ORDER BY Countryname;
For the second set, use a subquery to eliminiate the ones you've seen already:
SELECT CountryName
FROM Countries
WHERE Continent = "South America"
WHERE CountryName NOT IN
(SELECT TOP 11 CountryName
FROM Countries
WHERE Continent="South America"
ORDER BY Countryname)
ORDER BY Countryname;
FYI:the form doesn't look like a conventional form. The various list boxes
have the same background as the form and are locked so they can't be clicked.
My goal is to make the information attractive and readable.
INteresting. I wonder if a Report might be preferable - it lets you do snaking
lists, whereas a Form doesn't; and if you're not using this form for editing
(it seems) a report in Preview mode might be easier.