ob_ghosh
05-04-2002, 01:50 PM
iff(mid(expr),len(expr)-1,1)=" ",1,iif(mid(expr),len(expr)-2,1)=" ",2,3)
can anyone please tell me what is wrong with the syntax on this expression
it is supposed to identify the last space in the expr field
if the last space is one charechter from the end it is supposed to return one, if the last space is two digits frm the end it is supposes to return two and for any other answer it is supposed to return three
thanx a lot
can anyone please tell me what is wrong with the syntax on this expression
it is supposed to identify the last space in the expr field
if the last space is one charechter from the end it is supposed to return one, if the last space is two digits frm the end it is supposes to return two and for any other answer it is supposed to return three
thanx a lot