Wild card *

I scan my Picking Tickets to my network and save them with the order number as file name. I find them, from a posted invoice, with a button: vPick := ‘M:\SCANS’ + FORMAT(“Order No.”) + ‘.TIF’; HYPERLINK(vPick); Works great. However, a lot of times I have more than one Picking Ticket page per order. They are saved by the scanning program as 0001.tif, 0001(1).tif, 0001(2).tif, etc… I experimented with the wild card to open all the related tif’s but I haven’t been succesfull. Anybody have a good idea ? Thanks !

Instead of wildcards, why don’t you just loop int := 1; while exists(vPick) do begin HYPERLINK(vPick); vPick := ‘M:\SCANS’ + FORMAT(“Order No.”) + format(myint) + ‘.TIF’ int += 1; end; something like that. It’s 12:20 am so.