>Your Combo.ControlSource should be moved to the Column1 object. When this happens, I have to select the table that is the ControlSource for the grid, and even then, I can't get to the first record, every time I click it, control goes to the last record.
>
>What is going wrong?
>
I'm catch one error 5 minutes ago...
Look the code snippet below
-----
clear all
close tables
PUBLIC oform1
set classlib to combolib
use invm in 0
use itty in 0
oform1=NEWOBJECT("combo_in_grid")
oform1.Show
RETURN
-----
In my class Combo_In_Grid I don't set the Grid.RowSource.
If I don't forgot you too.
Well, code above works fine. But if I rearrange lines to:
use itty in 0
use invm in 0
I have a problem: when I set focus to Grid record pointer going to last record!
I think that in first case Grid without RowSource setting get it from first work area and code work as need.
May be this idea?
Regards,
Dmitri Alexandrov