Gordon
here is my attachment part, and it works very well
for lncount = 1 to alen(paAttchFiles)
.AttachmentIndex = AttachmentDone -1
.AttachmentPathName = (pcclintspath+'download\'+paAttchFiles(lncount)+'_i.dbf')
.Attachmentposition = AttachmentDone -1
AttachmentDone = AttachmentDone+1
.AttachmentIndex = AttachmentDone -1
.AttachmentPathName = (pcclintspath+'download\'+paAttchFiles(lncount)+'_d.dbf')
.Attachmentposition = AttachmentDone -1
AttachmentDone=AttachmentDone+1
endfor
HTH
Iain
Iain Brodie