In reply to dave_59:
In reply to 1978bubun: Sorry, forgot the %%d. See corrected example.
Thanks a lot, Dave! This worked.