INTERACT FORUM
More => Old Versions => Media Center 14 (Development Ended) => Topic started by: galahad1974 on October 19, 2009, 07:25:41 am
-
im trying to get my files to be place in a subfolder by even if one is present, if not, i dont want the subfolder created at all. currently my problem is that if i dont have a value in events it creates folder called "unknown events". the bold below is the code for the event stuff. i know im missing something simple, what is it? all help is welcome and appreciated!!
if(isequal([Media Type],image,1),\images\[.Media Sub Type]\RemoveRight([Date (Friendly)],4)\removeright(Removeleft([Date (Friendly)],4),2)-Removeleft([Date (Friendly)],6)\if(isempty([Events]),,[Events])\,no))
-
you should try to use [Events,0]. this will give an empty value when there is nothing. did not test it, just something i would try first.
:)
gab
-
that was it, thanks!