Jump to content

This topic is 7494 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi all,

I was hoping someone could help with the following problem I have encountered, I have 4 text fields that I have concatenated into a 5th calculated text field- all the fields have the text formatted to title case. On some of the records the calc field is displaying correctly with all the text in title case and on some records the first half of the calc field is displaying ok but the second half is displaying in lower case. any suggestion please.

I am using FM7 and WinXP Pro

many thanks

RayC

Posted

Post your calc and I'll take a look.

Posted

Just one other quick question, are the fields formatted to Titlecase? If so, this does not necessarily mean the data, text, was entered in titlecase. To ensure that titlecase is enforced in your calc, you could do something like this:

TextStyleAdd(field1; Titlecase) & " - " & TextStyleAdd(field2; Titlecase) & " - " & TextStyleAdd(field3; Titlecase)& " - " & TextStyleAdd(field4; Titlecase)

The hyphens are optional, use whatever your using in your concatenation. What this calc will do is make the data titlecase, regardless of the way it was entered in the original fields.

HTH

Adam

  • Newbies
Posted

Hi Fitch,

The calculation I'm using is as follows: -

Sex & " - " & Date of Birth & " - " & sires & " - " & dam & " - " & owner 2

A further thing I've discovered since my original post is that the field displays correctly in the master file, it is only when displayed using a relationship that the incorrect display occurs.

RayC

Posted

Any formatting you apply on a layout won't carry over into calculations or related files. A simple fix is to enclose the whole calc in a Proper() function like so:

Proper( Sex & " - " & Date of Birth & " - " & sires & " - " & dam & " - " & owner 2 )

This topic is 7494 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.