monica1
1st June 2005, 14:05
I make a change in session tfacp1102s000 to check the field tfacp202.bano. I only see the length of the string. If it is a data with error I show an error message. After show this error the field becomes empty.
field.tfacp202.bano:
check.input:
check.input:
if (tfacp202.btyp = tccom.ctob.bank) and
| (not itfcmg0008.valid.bank.account(tfacp202.bano)) then |#LOCFIN031.o
(not itfcmg0008.valid.bank.account(tfacp202.bano, |#LOCFIN031.sn
tfacp202.badr,
true)) then |#LOCFIN031.en
set.input.error("tfacps0198")
|* Not a valid Bank Account
endif
if len(strip$(tfacp202.bano)) < 12 then
message("La longitud es incorrecta")
set.input.error("")
endif
Thank you in advance,
field.tfacp202.bano:
check.input:
check.input:
if (tfacp202.btyp = tccom.ctob.bank) and
| (not itfcmg0008.valid.bank.account(tfacp202.bano)) then |#LOCFIN031.o
(not itfcmg0008.valid.bank.account(tfacp202.bano, |#LOCFIN031.sn
tfacp202.badr,
true)) then |#LOCFIN031.en
set.input.error("tfacps0198")
|* Not a valid Bank Account
endif
if len(strip$(tfacp202.bano)) < 12 then
message("La longitud es incorrecta")
set.input.error("")
endif
Thank you in advance,