I've tried in both Version 9 and 10:
I'm absolutely embarrassed to say I can't get this to work. It is one of the most basic of things to do with a Combo Box. I've tried everything I can think of, but I am missing something about how this is done.
1.) I create a new project, and one new table (named Testtable) with three fields:
1 - ID (char indexed)
2 - Name (char)
3 - Description (char)
2.) I then put sample data into a few records, being sure the ID field has unique data per record.
3.) I create a new Default Form (named Testform) based on the Testtable with all three fields desplayed about midway down on the form
4.) I place a Combo Box near the top of the form showing Testtable->ID. I set the Choices as Computed Automatically from Current Table, field ID. The valuea show correctly in the drop down list.
5.) Now, I'd like whichever ID I select in the combo Box to control the record shown in the form. What I get instead is that the ID field of the current record is changed to the ID value, but the record does not change to the corresponding record associated with the original record ID field.
What I want to do is so basic that I can't believe I have to learn how to drive this with scripting. Isn't this the most basic use for a drop down selection control?
Please, how do I do this?
I'm absolutely embarrassed to say I can't get this to work. It is one of the most basic of things to do with a Combo Box. I've tried everything I can think of, but I am missing something about how this is done.
1.) I create a new project, and one new table (named Testtable) with three fields:
1 - ID (char indexed)
2 - Name (char)
3 - Description (char)
2.) I then put sample data into a few records, being sure the ID field has unique data per record.
3.) I create a new Default Form (named Testform) based on the Testtable with all three fields desplayed about midway down on the form
4.) I place a Combo Box near the top of the form showing Testtable->ID. I set the Choices as Computed Automatically from Current Table, field ID. The valuea show correctly in the drop down list.
5.) Now, I'd like whichever ID I select in the combo Box to control the record shown in the form. What I get instead is that the ID field of the current record is changed to the ID value, but the record does not change to the corresponding record associated with the original record ID field.
What I want to do is so basic that I can't believe I have to learn how to drive this with scripting. Isn't this the most basic use for a drop down selection control?
Please, how do I do this?
Comment