G
Guest
I need to code or syntax for skipping record if Client Name is too long.
Should this code go in On Format or On Print
Should this code go in On Format or On Print
Rick B said:Just update your query. Add a new field that will display the length of the
field and then put in criteria to exclude records where the length is longer
than desired.
LenghtOfName: Len([somefieldname])
<XX
--
Rick B
iholder said:I need to code or syntax for skipping record if Client Name is too long.
Should this code go in On Format or On Print
This is my current code. I want if, the [ClientName] > 27 to print "NAME NO
LONG" instead.
If Len([ClientName]) > 20 Then
[ClientName].FontSize = 10
[HealthID].FontSize = 10
Else
[ClientName].FontSize = 14
[HealthID].FontSize = 14
End If
Rick B said:Just update your query. Add a new field that will display the length of the
field and then put in criteria to exclude records where the length is longer
than desired.
LenghtOfName: Len([somefieldname])
<XX
--
Rick B
iholder said:I need to code or syntax for skipping record if Client Name is too long.
Should this code go in On Format or On Print