General information
Category:
Coding, syntax & commands
>Barbara-
>
>Thanks for the reply. I have been trying to get several things to work but have been unsuccessful. Here is what I have now:
>
>1. I defined a cursor called vex_cur with 2 columns (vex_code, vex_desc) in the init event of the form.
>
>2. In the combobox I have the following defined:
> - columncount: 2
> - controlsource: vext.vext_code (table where the value will be stored)
> - rowsource: vex_cur
> - rowsourceType: 2- Alias
> - Style: 2-Dropdown list
>
>I cannot get the combobox to drop down in the grid. Also, if the user enters something that is not in the list I will add it to the cursor in the valid event (I assume this is the right way to do it). I am hoping that I can get this figured out and appreciate your help.
>
>Have a good day-
>
>Geoff
Geoff,
Set Column.controlsource to vext.vext_code (table where the value will be
stored)
Set Column.Sparse = .F.
Set Combobox.rowsource = vex_cur.vex_desc, vex_code
Set Combobox.BoundColumn = 2
Set Combobox.ColumnCount = 2
Set Combobox.Columnwidths = 200,0
Hope this will help you.
Charlie
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only