logo

New Response

« Return to the main article

You are replying to:

  1. Getting the names of attachments submitted via a browser is a pain, because the only way to get them is by name, which is what you're trying to determine!

    As an alternative to doing an evaluate to get the attachment names you can do this:

    Forall itmField in doc.Items if itmField.Type = ATTACHMENT then 'itmField.Values(0) is the filename 'itmField.ValueLength is the file size end if end Forall

    A bit inefficient but it does avoid having to load the formula interpreter to process the evaluate command.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: