Lennie
Why do you need to store the countries in a database so that you can
populate a combobox. Country names very rarely change so putting them in a
unit wouldn't create problems. Instead, why don't you stick the countries
into a unit and populate the combo box from there.
For example,
const
Countries: array[0..248] of string = (
'Afghanistan',
'Albania',
'Algeria',
'American Samoa',
'Andorra',
'Angola',
Etc.
You have already been given a list of countries.
To populate the combobox do
for i := 0 to High(Countries) do
ComboBox1.Items.Add(Countries[i]);
Mike
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Lennie De Villiers
Sent: Wednesday, 27 July 2005 5:28 AM
To: [email protected]
Subject: [delphi-en] Countries List?
Hi,
I'm looking for a list of all countries in CSV format so that I can import
it into a database for use in a application's combo-box?
Kind Regards,
Lennie De Villiers
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 7/25/2005
[Non-text portions of this message have been removed]
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/