Item.Size > 0

J

Jean

Hi !
I'm having a problem with some forms.
We have coded ower forms to check for Item.size = 0 to know if this
forms are opened for the first time. This been working greate but now
a couple of the user when they oppen the form for the first time they
get a much higher Itme.size. What can the problem be? Why is the
Item.size not = 0?

/regards
Jean
 
K

Ken Slovak - [MVP - Outlook]

Could the forms be one-offed? That could do it.

You can also check for Item.EntryID = "", an Item doesn't get an
EntryID until it's been saved.
 
J

Jean

Hi Ken!
It's not a one.offed form. Its published in the Global Form Directory. The
thing is that we have about 20 forms using the Item.size property and I
would rather not change the code in all of them. They are working for all
the others but not for a couple of people. I have tried to reinstall CDO and
Outlook XP. The problem seems to be computer related. If an other person
logs on to the computer he/she will get the same problem. The Item.Size is
128. Any ideas what could affect the size property?

Ps: Thanks for taking time for these matter.
Regards
/Jean
 
K

Ken Slovak - [MVP - Outlook]

Just because an item's MessageClass has been published that doesn't
mean that it hasn't become one-offed. Or that the forms cache hasn't
been corrupted. Check the MessageClass of an item like that and see if
it's the standard or custom MessageClass. Also see if clearing the
forms cache for those users helps.

It's up to you if you want to check for EntryID = "" or not. I can
only make suggestions.




Jean said:
Hi Ken!
It's not a one.offed form. Its published in the Global Form Directory. The
thing is that we have about 20 forms using the Item.size property and I
would rather not change the code in all of them. They are working for all
the others but not for a couple of people. I have tried to reinstall CDO and
Outlook XP. The problem seems to be computer related. If an other person
logs on to the computer he/she will get the same problem. The Item.Size is
128. Any ideas what could affect the size property?

Ps: Thanks for taking time for these matter.
Regards
/Jean


"Ken Slovak - [MVP - Outlook]" <[email protected]> skrev i meddelandet
Could the forms be one-offed? That could do it.

You can also check for Item.EntryID = "", an Item doesn't get an
EntryID until it's been saved.




but
now
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top