bkhendershot
Programmer
I'm using the combo box wizard to create a simple "Find a record on my form based on the value I selected in my combo box." Trouble is, it isn't so simple. I have tried this on two different database applications on two different machines. The wizard goes through the routine fine and sets up the code fine. But all is not fine when you go to use the combo box. When I click on the combo box, it expands and the data appears exactly as I want it to. However, when I click on one of the ID numbers in that combo box to go to the specified record, it does nothing. The combo box list remains expanded, the data in the form doesn't change, and the only way I can get the list to disappear is to click away from the combo box, which again does nothing to change the form data.
So I created a small test form in one of the applications. In this test form, I created a testID field and a Name field. I entered four records. I used the form wizard to create a form based on that table (exactly as I've done with the other applications). I used the combo box wizard exactly as I had on the other two applications. Only this time, the combo box worked exactly as it was supposed to.
So I tried recreating the combo box on the desired form using the wizard again, but it still won't work. I've compared the form properties for both the test form and the desired form, they are identical. Both combo box properties are identical. And of course, the code that the wizard generates is identical with the exception of the field name.
Does anyone have any idea why this might work in one form but not in another?? My co-worker has used the wizard in an application, and had no trouble. I had him try it on one of my applications just to see if I was really missing something, but he couldn't get it to work either. Like me, he has no clue why it won't work. If anyone can help, it would GREATLY be appreciated!!
So I created a small test form in one of the applications. In this test form, I created a testID field and a Name field. I entered four records. I used the form wizard to create a form based on that table (exactly as I've done with the other applications). I used the combo box wizard exactly as I had on the other two applications. Only this time, the combo box worked exactly as it was supposed to.
So I tried recreating the combo box on the desired form using the wizard again, but it still won't work. I've compared the form properties for both the test form and the desired form, they are identical. Both combo box properties are identical. And of course, the code that the wizard generates is identical with the exception of the field name.
Does anyone have any idea why this might work in one form but not in another?? My co-worker has used the wizard in an application, and had no trouble. I had him try it on one of my applications just to see if I was really missing something, but he couldn't get it to work either. Like me, he has no clue why it won't work. If anyone can help, it would GREATLY be appreciated!!