"\\MyServer\D$\HHC-Pictures\"
& ToText(CDate({TicketPicture.PictureDate}),"yyyy-MM-dd")
&"\"
&{Ticket.TicketNo}
& "_"
& ToText(CDate({TicketPicture.PictureDate}),"yyyyMMdd")
& "_"
& LEFT({TicketPicture.PictureTime},2)
& MID({TicketPicture.PictureTime},4,2)
& RIGHT({TicketPicture.PictureTime},2)
& "_01.jpg"
This formula builds the data path to the first photo - the additional formulas for the other photos changes the 01 at the end to 02, 03....