> 1. I have a grid. Its first column is a combo box. When I want the user press > ENTER in the last column (for example, the 10th), the focus will move to the > first column of next line. I tried to use "Append Blank" at the 10th text
> box's Keypress event but it will move to the first column of the same line
> but will not move down one line. How come?
Try this: in KEYPRESS Event of textbox in 10th column
Grid.ActivateCell(Grid.ActiveRow+1,1)
> 2. Another question is: If I have a combo box which has 2 column of data
> inside, how can I get the value of the first column? I tried
> "thisform.combo1.value" but I think this value represent the 2 column but not
> the first column's value.
Try "thisform.combo1.displayvalue" but this works only if you choose combobox to display the first column.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.