Hi jef
hi, yeh great, thanks! once i played around a bit i got it. but i
don't quite understand why the line before the End Loop actually
works. reading the help i understood that the searchString (2)
would be replaced by the replaceString (9999), but it seems to be
replacing values 1-9999 with 2-9999 in the SCRATCH field...? i
mean, i'm happy 8-) but would just like to "get it".
Set Field "SCRATCH" [ Substitute ( PHOTOS ; "; " ; "¶" ) ]
Loop
Exit Loop If [ IsEmpty ( SCRATCH )
Open URL [ "www" & Substitute ( LeftValues ( SCRATCH ; 1 ) ;
"¶" ; "" ) & ".jpg" ]
Set Field [ SCRATCH ; MiddleValues ( SCRATCH ; 2 ; 9999 ) ]
End Loop
the step you mention keeps all values/lines except the first, IOW
makes the second line become the first
when the loop progresses the step
LeftValues ( SCRATCH ; 1 )
gets the first value/line, and that will be different any time the
loop goes around thanks to the fact that the other step removes the
first value at each turn
Hope I've explained myself enough
Ciao
G. Pupita
Certified FileMaker 8 Developer
FileMaker Business Alliance