Hey experts,
it seems my question is classic.
I have code like below.
where textbox1 and textbox2 come from the afterrowcolchange grid, ie
and I put the results of the coding in recordsource grid2 with the data displayed as empty.
As far as I know, if we do it with coding like this:
the desired data appears
The question is whether we can sort the data by double clicking the grid method in any grid1 column so it can appear in grid2 (with the conditions of the 2 textboxes above)
it seems my question is classic.
I have code like below.
Code:
select * from crsresult where alltrim(thisform.text1.value) = thisform.text2.value into cursor 'crsResult1'
where textbox1 and textbox2 come from the afterrowcolchange grid, ie
Code:
LPARAMETERS nColIndex
thisform.text1.value = field(this.Columns(nColIndex).header1.caption)
thisform.text2.value= EVALUATE(this.Columns(nColIndex).ControlSource)
and I put the results of the coding in recordsource grid2 with the data displayed as empty.
As far as I know, if we do it with coding like this:
Code:
select * from crsresult where alltrim(name) = "ALDI"
the desired data appears
The question is whether we can sort the data by double clicking the grid method in any grid1 column so it can appear in grid2 (with the conditions of the 2 textboxes above)