AnsweredAssumed Answered

Find records using a global field

Question asked by jgaglio on Aug 4, 2010
Latest reply on Aug 9, 2010 by jgaglio

Title

Find records using a global field

Post

I want to do a scripted find using a global field with values for a music file I'm creating. There are 12 music genre values ie. Jazz, Rock, Funk, Pop etc.. User will select the genre by check box (value list) then select a search button, the result will be a list of songs by genre. Here's what I have so far, but it's not working.

  • Enter Find Mode [ ]
  • If [ Document Library::gGenre > 1 ]
  • Set Variable [ $values; Value:"Document Library::gGenre" ]
  • Loop
  • Set Field [ Document Library::Genre; LeftValues ( $values ;1 ) ]
  • Set Variable [ $values; Value:RightValues ($values ; ValueCount ($values )-1 ) ]
  • Exit Loop If [ IsEmpty ( $values ) ]
  • Duplicate Record/Request
  • End Loop
  • End If
  • Constrain Found Set [ ]
  • Enter Browse Mode

Screen_shot_2010-08-05_at_12.56.52_AM.png

Outcomes