tmas73 Posted July 12, 2008 Posted July 12, 2008 Is there a way to half the text inside the field display "Condense" if it does not fit into the field? Now if the field is out of boundary it displays a "?" instead it should condense the field. Maybe this works with conditional formating? Thanks
Raybaudi Posted July 12, 2008 Posted July 12, 2008 That field isn't a text field ! Sure you have setted it as a number.
tmas73 Posted July 12, 2008 Author Posted July 12, 2008 That field isn't a text field ! Sure you have setted it as a number. Maybe I did not explain to well. Is it possible if a fields contend is larger than the fields it automatically displays its contend in "Condensed" form?
Lee Smith Posted July 13, 2008 Posted July 13, 2008 (edited) You could try using the Conditional Formatting with a calculation such as Length ( ProtectData::Data ) ≥ 15 and then have it format the field using the Text options. I used 15 in the formula as a for-instance. What you would need to do is to change the font in the field to a Mono Type, such as Monaco, and then count the number of characters it takes before you would want to invoke your condense text condition. HTH Lee Modified my calculation. Edited July 13, 2008 by Guest
tmas73 Posted July 13, 2008 Author Posted July 13, 2008 You could try using the Conditional Formatting with a calculation such as Length ( ProtectData::Data ) ≥ 15 and then have it format the field using the Text options. I used 15 in the formula as a for-instance. What you would need to do is to change the font in the field to a Mono Type, such as Monaco, and then count the number of characters it takes before you would want to invoke your condense text condition. HTH Lee Modified my calculation. Hmm I dont know whats going on but It displays the Condense all the time no matter what length, maybe it has to do that it is a number field with "fixed number of decimal" and "Do not display zero". Does that cause a problem?
Lee Smith Posted July 13, 2008 Posted July 13, 2008 Conditional Formatting is for Text only. If you said number somewhere in your posts, I missed it. This begs the question, Why would you need to do this with numbers? Lee
comment Posted July 13, 2008 Posted July 13, 2008 maybe it has to do that it is a number field with "fixed number of decimal" That's quite possible. If you're using Length ( field ) > 10 as your condition, it will count ALL decimal digits, not just the ones that are being displayed. Try something like: Length ( Int ( Round ( field ; 2 ) ) ) > 8 BTW, I don't think condensing will allow you to squeeze in more than one additional digit.
Recommended Posts
This topic is 6037 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now