INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Change in behaviour of calculated fields in recent 11.1 builds?  (Read 960 times)

ozmael

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 51
  • Change this by choosing profile
Change in behaviour of calculated fields in recent 11.1 builds?
« on: January 11, 2006, 02:55:10 pm »

In recent builds of 11.1, I've noticed a change in the behaviour of calculated fields.

I have a calculated field called [Name (Full)] which has the following formula (note the extra square brackets around 'Mix Name'):

[Name (Base)] [[Mix Name]]

Formerly, when a song didn't have a value in the [Mix Name] field, the calculated field would ignore the extra square brackets around [Mix Name] and return just the value from [Name (Base)].

In recent builds of 11.1, when the [Mix Name] field is blank, I get an extra set of empty square brackets after the song name as in:

Let the Sunshine In []

Is there any way to instruct MC 11.1 to ignore the extra square brackets when the [Mix Name] field is blank?

Regards
Logged

skeeterfood

  • Citizen of the Universe
  • *****
  • Posts: 779
  • We're all just food for the skeeters.
Re: Change in behaviour of calculated fields in recent 11.1 builds?
« Reply #1 on: January 11, 2006, 04:09:25 pm »

Try this:
[Name (Base)]If(IsEmpty([Mix Name]),, [[Mix Name]])
Note: There probably won't be a space between [Name (Base)] and [[Mix Name]], since the documentation claims that spaces after ','s are ignored...  Not sure how to deal with that...

For more details see: DevZone

-John
Logged
Pages: [1]   Go Up