Topic: Combobox
Hello Dimitri
I'm making a test on my VDB about birds.
To reduce many forms I have, I'm testing 2 comboboxes populated
with 2 text files (orders and families ) through a script :
Affichage.ComboBox1.Items.LoadFromFile(Chemin + 'Ordres_Oiseaux.txt');
Affichage.ComboBox2.Items.LoadFromFile(Chemin + 'Familles_Oiseaux.txt');
That's works fine (the loadings).
But I would Combobox.Text be filled by the user's choice from file loaded (i.e Orders).
I'm not very good with Items.Index.
Have you any ideas about the way to succeed ?
And how to save those selection through a Save button (directly or with a script) ?
Another error message : Compilation tells me "no such columns" .
So I'v declared in my main table called Oiseaux those 2 fields : Order and Family.
It occurs when I want modify a record already saved
Thanks for your help
Best regards
Jean B.