11 Replies Latest reply on Jan 31, 2011 11:56 AM by philmodjunk

    Batch insert picture script doesn't work.

    ultranix

      Title

      Batch insert picture script doesn't work.

      Post

      Hey, I'm managing my contacts database and I tried to make a script, which would insert pictures for all contacts.

      Set Error Capture [on]
      Go to Record/Request/Page [First]
      Loop
          Go to Field [CONTACTS::picture_full]
          Insert Picture ["CONTACTS::id_abbrev.jpg"]
          Go to Record/Request/Page [Next; Exit after last]
          Exit Loop If [Get(RecordNumber)=1]
      End Loop

      Problem is it doesn't recognize filename, when it's set to either variable, or, like in this case, field value.

      Whenever I type specific value, it works like a charm.

      Is it possible to use variables or field values and execute batch picture import properly?