create cursor mycompny (company c(4),orders i, income i) insert into mycompny values ('ABC',4165,1984) insert into mycompny values ('DEF',986,1989) insert into mycompny values ('GHI',198,873) insert into mycompny values ('TRE',4853,8548) select mycompny browNow, I have down another grid base cursor for details - If the user hold in the top grid line2 in column orders I want to give the orders information for company DEF, if he hold in the top grid line3 in column income I want to give the income information for company GHI etc.