smusba
15th March 2011, 15:17
I want to write a script in such a way that if the (tdpur041.pono) position no 1 starts with tdpur041.item(1;1) ="1" then the concurring position should start with 1 itself other than 1 it should give error message and enable to input.
field.tdpur996.pono.c:
check.input:
for i = 1 to 100
if tdpur041.item(1;1)<>tdpur041.item(1;1)then
|if tdpur041.item(1;1)<>tdpur041.item(1;1)then
set.input.error("")
message("Make different Orders for Fish and shrimps")
else
endif
endfor
Kindly help me with the script.
field.tdpur996.pono.c:
check.input:
for i = 1 to 100
if tdpur041.item(1;1)<>tdpur041.item(1;1)then
|if tdpur041.item(1;1)<>tdpur041.item(1;1)then
set.input.error("")
message("Make different Orders for Fish and shrimps")
else
endif
endfor
Kindly help me with the script.