Topic: What's wrong with my combobox ?
Hi, look at attached picture..
It looks nothing like the video tutorial, why does it say foreign.key ?
And i can't choose my table from the dropdowns..
Any ideas ?
My Visual Database → General → What's wrong with my combobox ?
Hi, look at attached picture..
It looks nothing like the video tutorial, why does it say foreign.key ?
And i can't choose my table from the dropdowns..
Any ideas ?
Hello,
Please, download simple project with ComboBox here:
Downloaded it, but why does the field say foreignkey instead of Tablename ?
And i've tried making a database (table and field) but it can't be found in the dropdown (configuration dropdown) of the combobox..
Cheers !!
In the new version, TableName replaced to ForeignKey.
Please, attach you project at message without exe and dll files, for less size.
I'll try to help you.
Thanks.
All i wan't is this..
Table with one field (text)
First form with combobox and an add button. Add button action is new record,
Second form with textfield and ok button. The Ok button saves the new record in the table and only field.
When second form closed after ok button pressed the text enterd in form 2 should be available in the combobox in form1.
Cheers !!
You forgot attach project.
I have no projectfile, do you have a simple one as the one above ?
Cheers
I don't have this example, please see video lessons
http://myvisualdatabase.com/video_lessons.html
I have watched both videos and they give me NO reason why my project doesn't work...
The documentation on this superb software is kind of limited..
Cheers !
EDIT: included the project and as you can see you can't choose anything in the combobox dropdowns (settings)
In this case you can't use ComboBox, cause you have no any relationships beetwen database tables.
But you can use component TableGrid, i attached project for you.
Thank you !!
But what is the combobox good for if you can't fetch data from table and show it there ??
Cheers !!
andreas.malmqvist76
Hello
Do you mean your problem stands in that Combobox doesn't show differents values (555, cvbc) in the dropdown list from where could select a value ?
Jean B.
Yes
andreas.malmqvist76
Hello
Do you mean your problem stands in that Combobox doesn't show differents values (555, cvbc) in the dropdown list from where could select a value ?
Jean B.
andreas.malmqvist76
Well, as said Dimitri (DriveSoft), using efficiently Comboboxes needs at least two tables in order to create relationships between those two tables (or more if need be).
As example, I've set up an application about birds with three tables : 1) Birds, 2) Order and 3) Family.
Those 3 tables have relationships and there , the comboboxes have a sense and utility.
With 2 dropdown comboboxes, (Order and Family), I can populate the main tables (Birds) with the contents of two others (table Order and table Family). When dropdown comboboxes are opened, I can see the différents values for each tables and I can pick every one from the comboboxes.
As Comboboxes have two fields (ForeignKey and Fieldname - (ForeignKey is in fact the name of the table you want reach) - you can easily populate these ones with values of each of second tables.
Was I clear in my explications ?
Jean B.
@jean.brezhonek
Thanks a lot !!
Now it worked like a charm !!
Thanks to both of you !!
Cheers !
My Visual Database → General → What's wrong with my combobox ?
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi