Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox in grid help needed
Message
 
To
12/03/2001 03:55:41
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00483437
Message ID:
00484060
Views:
18
>HI THERE ERIC
>
>MY GRID IS ON A PAGEFRAME WITH ITS RECORDSOURCE SET TO THE TABLE IN WHICH THE DATA MUST BE STORED. THE RECORDSOURCE OF THE COLUMN IN WHICH THE COMBOBOX IS VALUE IS SET TO THE FIELD IN THE TABLE ABOVE. THE COMBOBOX CONTROLSOURCE AUTOMATICALLY DISPLY THE COLUMN CONTROLSOURCE. THE DROPDOWN OF THE COMBOBOX.ROWSOURCE IS SET TO ANOTHER TABLE WHICH HOLDS POSSIBLE VALUES THAT CAN BE USED. ROWSOURCETYPE IS SET TO ALIAS.
>
>THE DROPDOWN WORKS FINE AND DISPLAYS THE POSSIBLE OPTIONS BUT WHEN ENTERING DATA BY HAND IT THROWS AWAY THE DATA ENTERED BY HAND.
>
>HOPE THAT WILL HELP YOU

You have to handle new stuff by hand. When something is typed in, you must make sure that you add it to the table the list is coming from. If not, it will not show the values that you added. One good place to handle that would be in the valid of the combobox.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform