Vikram, If you don't want to allow > 2MB, why don't you just set that as the maximum size of the attachment field, and let Remedy handle the errors?
-----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Vikram_Betholi Sent: Wednesday, June 20, 2012 11:45 AM To: arslist@ARSLIST.ORG Subject: Query for measuring Attachment length Hi, As part of my implementation i need to find the length of an Attachment and if it is more than 2MB, i need to throw an error message to the user. Can any one let me know what can be the Query to find the Attachment length? With Regards, B.Vikram _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"