# Format value not working

**URL:** https://community.mp3tag.de/t/format-value-not-working/7514
**Category:** Support
**Created:** [November 24, 2008, 12:28am UTC](https://community.mp3tag.de/t/format-value-not-working/7514 "2008-11-24T00:28:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![b\_rad](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@b\_rad](https://community.mp3tag.de/u/b_rad)
#### Post date: [November 24, 2008, 12:28am UTC](https://community.mp3tag.de/t/format-value-not-working/7514/1 "2008-11-24T00:28:05Z")

</div>

I have 2 fields that need to have the same information, example "Label" and "Publisher". The reason for this is:

1. I use Traktor, which uses the "Publisher" field.
2. I use a few other programs which look for the "Label" field.

So, I've used foobar to tag a few hundred tracks which have data in the "Label" field, and I've also used mp3tag for hundreds of others which have data in the "Publisher" field. I'm trying to copy from "Label" to "Publisher" and vice versa so that all my music have the same data in both fields.

I created a Format value action with the field as "LABEL" and the format string as "%publisher%", but after running it, it only removes the text from the field instead of copying it to the other. I also would like to move all "Style" fields to the "Genre" field. I hope this makes sense and appreciate your help.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [November 24, 2008, 7:36am UTC](https://community.mp3tag.de/t/format-value-not-working/7514/2 "2008-11-24T07:36:06Z")

</div>

This is not that special what you have asked for, but you can learn from it:

Example for "Replace" tag field data.

Begin Actionsgroup **'DISCID' same as 'CDDBID'**

Action #1  
_Actiontype 2:_ **Replace**  
_Field:_ **DISCID**  
_Original:_ **÷**  
_Replace with:_

[\_] only as whole word[\_] case sensitive comparison

Action #2  
_Actiontype 2:_ **Replace**  
_Field:_ **CDDBID**  
_Original:_ **÷**  
_Replace with:_

[\_] only as whole word[\_] case sensitive comparison

Action #3  
_Actiontype 5:_ **Format tag field**  
_Field:_ **CDDBID**  
_Formatstring:_ **$if($grtr(%DISCID%,),%DISCID%,%CDDBID%)**

Action #4  
_Actiontype 5:_ **Format tag field**  
_Field:_ **DISCID**  
_Formatstring:_ **$if($grtr(%CDDBID%,),%CDDBID%,%DISCID%)**

Action #5  
_Actiontype 1:_ **Case conversion**  
_Field:_ **DISCID**  
_Case conversion:_ **UPPER CASE**  
_Word begins after:_

Action #6  
_Actiontype 1:_ **Case conversion**  
_Field:_ **CDDBID**  
_Case conversion:_ **UPPER CASE**  
_Word begins after:_

Note: Replace one special character ÷ with one space character.  
End Actionsgroup **'DISCID' same as 'CDDBID'** (6 Actions)

Example for "Move" tag field data.

Begin Actionsgroup **'DISCID' move to 'CDDBID'**

Action #1  
_Actiontype 5:_ **Format tag field**  
_Field:_ **CDDBID**  
_Formatstring:_ **%DISCID%**

Action #2  
_Actiontype 5:_ **Format tag field**  
_Field:_ **DISCID**  
_Formatstring:_ **%dummy%**

End Actionsgroup **'DISCID' move to 'CDDBID'** (2 Actions)

DD.20081124.0935.CET

---

<div class="post-metadata">

### Author: ![b\_rad](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@b\_rad](https://community.mp3tag.de/u/b_rad)
#### Post date: [November 24, 2008, 2:38pm UTC](https://community.mp3tag.de/t/format-value-not-working/7514/3 "2008-11-24T14:38:14Z")

</div>

Thanks! I will try this after work today. 🙂

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:21pm UTC](https://community.mp3tag.de/t/format-value-not-working/7514/4 "2026-02-09T12:21:13Z")

</div>


