General information
Category:
Coding, syntax & commands
Thanks for replying. I was looking for afterrowcolchange and found that it can be use only at grid1 level not grid1.column2.text2 level. I have the following code in grid1.column1.text1.interactivechange ( abbreviated as .g1.c1.t1 in the code)
**** .g1.c1.t1.interactivechange
with thisform
&& 1,1=cto 1,2=date 1,3=id
if .array_create = .t.
.array_create = .f.
.z = recno()
.v = .v + 1
.a__gen10[.v,1] = .g1.c1.t1.value
.a__gen10[.v,3] = lv_ctoupdate.e_id
.g1.c2.setfocus()
else
dimension .a__gen10[alen(.a__gen10, 1) + 1, alen(.a__gen10, 2)] &&increase array by 1 row
.v = .v + 1
.z = recno()
.a__gen10[.v,1] = .g1.c1.t1.value
.a__gen10[.v,3] = lv_ctoupdate.e_id
.g1.c2.setfocus()
endif
endwith
Whenever I setfocus to column2 (.g1.c2.setfocus()), the valid fires and I only want valid to fire after I have entered the date in the g1.c2.t2
thanks
Nick patel
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only