Re: How to check attachment size?

2011-03-26 Thread Jarl Grøneng
Do a set field (the attachment field) into an integerfield. The value in the integerfield holds the size of the attachment. -- J 2011/3/25 Mark Milke mark_mi...@yahoo.com: Hello there, a web service is creating records in one of our forms. The attachment size is here is unlimited. In the

How to check attachment size?

2011-03-25 Thread Mark Milke
Hello there, a web service is creating records in one of our forms. The attachment size is here is unlimited. In the next step I create tickets in our incident tickets. Here the attachment has a limit and I need to check the size of the attachment before the transfer from the middle form into

Re: How to check attachment size?

2011-03-25 Thread Saurabh Mehta
Hi Mark, If the aim is to create the incident only if the attachment size is less than 5 MB, then you can limit the size of attachment to 5 MB in the middle form. Regards, Saurabh On 3/25/11, Mark Milke mark_mi...@yahoo.com wrote: Hello there, a web service is creating records in one of our

Re: How to check attachment size?

2011-03-25 Thread Mark Milke
Well, I could, but the requirement is to accept tickets with any size of attachment and if the attachment is to big to drop the attachment, log the fact that I'm dropping the attachment and to create the ticket. ___