logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Sundar
    • Posted on Fri 5 Oct 2012

    Hello Jake Howlett,

    Greetings!

    I got your contact from notes.net.

    I am the first time user of FileUpload Control. In my application, there is a master notes database, in which I added this new Fileupload control to a form. But the documents are actually saved in another sub-database via webQuerySave Agent. I chosen the file and then when I click save button, the webQuerysave agent gets triggered and while executing the below code snippet, of WebQuerySave Agent, v2FileNames(0) returns null value only. I am actually trying to get the object embedded and reattach it to the subdatabase document while saving it. But attachment is not returned. If you could reply with modified code snippet/approach/screenshots it would be greatly helpful. I am using LN 8.5.

    v2FileNames = Evaluate("@AttachmentNames", doc)

    messagebox "Filename - - > " & v2FileNames(0)

    here doc is the Session documentcontext.

    Thanks in Advance.

    Sundar.

Your Comments

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