Hello Everyone.
I want to get value of each column of the grid in a row, How do I achive it.
My problem In detail
Grid recordsource is a SQL Query.
My Grid has three columns - : 1 column - String , 2 column - Date & 3 column - Numeric
messagebox(thisform.grid1.column1.text1.value)
messagebox(dtoc(thisform.grid1.column2.text1.value))
messagebox(str(thisform.grid1.column3.text1.value))
When I put this code in the double click even of the Grid.
I get correct value of the column in whcih the cursor is active, regarding the other 2 columns only pervious values are displayed. Why is this ? What is my mistake ! If I activate the coloumn each time by using activatecell I get the correct value.
Is this the way to get value of the coulumns in a grid ? or any other perfect way.
Please help me out
Thank you all in advance.
Regards
Babu
I want to get value of each column of the grid in a row, How do I achive it.
My problem In detail
Grid recordsource is a SQL Query.
My Grid has three columns - : 1 column - String , 2 column - Date & 3 column - Numeric
messagebox(thisform.grid1.column1.text1.value)
messagebox(dtoc(thisform.grid1.column2.text1.value))
messagebox(str(thisform.grid1.column3.text1.value))
When I put this code in the double click even of the Grid.
I get correct value of the column in whcih the cursor is active, regarding the other 2 columns only pervious values are displayed. Why is this ? What is my mistake ! If I activate the coloumn each time by using activatecell I get the correct value.
Is this the way to get value of the coulumns in a grid ? or any other perfect way.
Please help me out
Thank you all in advance.
Regards
Babu