five_fingers Posted June 18, 2008 Share Posted June 18, 2008 Hello All, Thanks for any suggestions you may have for my current problem. I have two global fields that I'd like the user able to enter words in with or without capitalizing and then be able to specify a variable calculation using those global fields, but (and here's the catch) make the variable output Title Case. Here's my attempt to set the variable's calculation using TextStyleAdd - TextStyleAdd ( GlobalBlank1 & " " & GlobalBlank2 ; Titlecase ) With this calculation, I still get lower case words as a result if that's what's entered in the global field. Any suggestions? Thanks again for any help, Five Fingers Link to comment Share on other sites More sharing options...
comment Posted June 18, 2008 Share Posted June 18, 2008 Where do you "get lower case words as a result"? Link to comment Share on other sites More sharing options...
five_fingers Posted June 19, 2008 Author Share Posted June 19, 2008 In a custom dialog message based on a calculation using the variable. Does this make sense? Link to comment Share on other sites More sharing options...
comment Posted June 19, 2008 Share Posted June 19, 2008 Yes, it does. A custom dialog does not display styled text. But if you set a field to the variable, it WILL be styled. Note that styling does NOT modify the text - it's merely attached to the text, and it will be removed where there is no support for styled text, e.g. during export to a text file or in a custom dialog. If you want a permanent modification of the text itself, use the Proper() function instead. Link to comment Share on other sites More sharing options...
five_fingers Posted June 20, 2008 Author Share Posted June 20, 2008 (edited) Terrific. That makes sense. I'll give the Proper() function a try. Thank you very much for your help. FF Edited June 20, 2008 by Guest Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5760 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