temirlan79
09-01-2004, 05:10 AM
hello! how can i compare two columns of mshflexgrid and according to data in one column load data in second column.
my variant looks like this:
with mshflexgrid1
.col= 1
for StartRow=.fixedRow to .rows-1
.row= StartRow
if col=2 then
if .text= "new" then
.cellpicture=1 ' for example
elseif .text="modified" then
.cellpicture=2
esleif .text="submitted" then
.cellpicture=3
end if
end if
end with
my variant looks like this:
with mshflexgrid1
.col= 1
for StartRow=.fixedRow to .rows-1
.row= StartRow
if col=2 then
if .text= "new" then
.cellpicture=1 ' for example
elseif .text="modified" then
.cellpicture=2
esleif .text="submitted" then
.cellpicture=3
end if
end if
end with