dharmendrayadav
18th April 2014, 14:26
Hi

when i am selecting any record in
choice.mark.occur:
after.choice:

select tclnt101.styp
from tclnt101
where tclnt101._index1={:tclnt023.aspt}
selectdo
if tclnt101.styp=tclnt.styp.pmi or tclnt101.styp=tclnt.styp.chem then
cprj=tclnt023.cprj
aspt=tclnt023.aspt
seam=tclnt023.seam
export("cprj",cprj)
export("aspt",aspt)
export("seam",seam)
start.session(MODAL_OVERVIEW,"tclnt1518s000","tclnt0123m001","")
endif
endselect


whenever mark first time it start session properly with mark value , but whenver i mark another record after that it start sessions with old mark values.

dharmendrayadav
18th April 2014, 15:09
GOT Solution :)
if sel.num.selected() then

select tclnt101.styp
from tclnt101
where tclnt101._index1={:tclnt023.aspt}
selectdo
if tclnt101.styp=tclnt.styp.pmi or tclnt101.styp=tclnt.styp.chem then
cprj=tclnt023.cprj
aspt=tclnt023.aspt
seam=tclnt023.seam
export("cprj",cprj)
export("aspt",aspt)
export("seam",seam)
start.session(MODAL_OVERVIEW,"tclnt1518s000","tclnt0123m001","")
endif
endselect

else
tclnt023.aspt = ""

endif