Hi, thanks for replying.
Here is the syntax of my button command:
SubmitToSharePointList /submit=ShPSubmit /mapping=mapping /id=my:ID /dsname=AddAttachment /xpath=my:attachments/my:attachmentFile /uniqueName=yes
It is a repeating table, and the name of the field is "ID."
Thanks,
Carolyn