INTERACT FORUM

Please login or register.

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

Author Topic: Move field only if is not empty  (Read 801 times)

Flavio61

  • Recent member
  • *
  • Posts: 24
Move field only if is not empty
« on: December 14, 2012, 12:53:21 pm »

Hi,
On my library I would like to move the contents of one field to another, but only if the first field is not empty. How can I do?
thanks
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Move field only if is not empty
« Reply #1 on: December 14, 2012, 01:41:52 pm »

Select your files, and edit the tag you want changed and enter:

   =if(!isempty([first field]),[first field],[second field])

where first field is replaced with the field name you want to grab from, and second field is the one you are changing.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up