In what sense is that the 6th character? It looks like characters 6,7 and 8 or maybe 5,6,7--or are you trying to mimic another odd character by using -0-? Try using the mid function:
mid({table.field},6,3) = "-0-" //if it is the 6th thru 8th
The first number shows the starting position, and the second indicates the number of characters.
Where are you using this? I meant for you to use this in the format field->common->suppress->x+2 formula area--assuming you want only to suppress the field itself. If you wanted to suppress the entire row, you would use the formula in the section expert->details->suppress->x+2.
Depending upon why you are doing this, you may want to consider putting the criteria in the select statement so that you only get the records that you want... where possible, let the database do the work for you - that's what it's designed for.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.