Hi,

If you set a Character Field to $Attachment Slot$, you will see the name
of the attachemnt prefixed by the Compressed and Uncompressed size, with a
delimiter. It is not hard to parse out these numbers if you need to.

If you need this as individual fields, store it in an Integer field.

        Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

> 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:[email protected]] On Behalf Of Vikram_Betholi
> Sent: Wednesday, June 20, 2012 11:45 AM
> To: [email protected]
> 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"
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to