Information générale
Catégorie:
Codage, syntaxe et commandes
Its been a while...and I still can't quite remember how these work.
Using VFP 7, I have a grid with a initial column count of -1, to which I am programatically adding 5 columns.
The first column of the grid is a combobox (dropdown list type). I have the column controlsource set to a field from the source cursor, and the drop down list populated using the rowsourcetype of 6 (fields) and rowsource of 2 columns from a lookup table
The values in this table are
-1 Unknown
1 Region1
2 Region2
3 Region3
4 Region4
5 Region5
6 Region6
The list is bound to an integer column, but it is picking up the list item number rather than the regionid. I.E. if the id was 5 the display value will be "Region4".
What needs to be changed to pickup the correct list item.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement