URGENT HELP - ComboBox to TextFile

mace_altinator
mace_altinator used Ask the Experts™
on
hi all,
i need some urgent help. I'm doing a Delphi project 4 school. I've created a file on cars and i'm using comboboxes and a textfile to hold the data. i've tryd 2 link the combobox to the .DAT file but it won't work. It says there are no field name in the combobox that match but i put them in an they DEFinately match WHAT can I do?
Code for this operation would be helpful
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
on form load use
combobox.items.LoadFromFile("yourfile.dat")
IF you need more help check this link, it explain how it work.
http://www.djpate.freeserve.co.uk/GetCode.htm

Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

-  Points for blackami

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venabili
EE Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial