Attachment is deleting - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Attachment is deleting

Last post 04-12-2005 07:31 AM by Shanthi Reddy. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-23-2005 03:52 AM

    Attachment is deleting

    After users selects the form , how to restrict attachment for not to delete.i locked the control but i want the user want to open the document,but not for deletion

    Vamsi.B
  • 04-05-2005 05:17 AM In reply to

    You can add an OnBeforeChange event handler which checks the operation and then gives an error message if they are trying to delete the attachment.

    Hope this helps!

    Shanthi
    InfoPathDev India
    Shanthi Reddy
  • 04-12-2005 01:44 AM In reply to

    I have the exact scenario like vamsi.krishna.

    This may be stupid to ask, but how do you add an OnBeforeChange event handler to an attachment control?
    This can be easily done in other controls with "Data Validation" option, but not attachment control though.
  • 04-12-2005 07:31 AM In reply to

    Open the DataSource in the task pane and double click on the Node/field that is mapped to the attachment control to look at its properties. Open the Validation and Event handlers tab. There is a dropdown at the bottom that allows you to create the OnBeforeChange event

    Shanthi
    InfoPathDev India
    Shanthi Reddy
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.