PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming Item.Size > 0

Reply

Item.Size > 0

 
Thread Tools Rate Thread
Old 23-01-2004, 09:55 AM   #1
Jean
Guest
 
Posts: n/a
Default Item.Size > 0


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
  Reply With Quote
Old 23-01-2004, 03:33 PM   #2
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Item.Size > 0

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Jean" <jean@cq2.com> wrote in message
news:6403507f.0401230155.4a904926@posting.google.com...
> 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



  Reply With Quote
Old 02-02-2004, 12:20 PM   #3
Jean
Guest
 
Posts: n/a
Default Re: Item.Size > 0

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]" <kenslovak@mvps.org> skrev i meddelandet
news:eYIgmYc4DHA.2136@TK2MSFTNGP12.phx.gbl...
> 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.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "Jean" <jean@cq2.com> wrote in message
> news:6403507f.0401230155.4a904926@posting.google.com...
> > 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

>
>



  Reply With Quote
Old 02-02-2004, 03:24 PM   #4
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Item.Size > 0

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Jean" <jean@cq2.com> wrote in message
news:eI0cOcY6DHA.2572@TK2MSFTNGP09.phx.gbl...
> 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]" <kenslovak@mvps.org> skrev i

meddelandet
> news:eYIgmYc4DHA.2136@TK2MSFTNGP12.phx.gbl...
> > 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.
> >
> > --
> > Ken Slovak
> > [MVP - Outlook]
> > http://www.slovaktech.com
> > Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
> > Reminder Manager, Extended Reminders, Attachment Options
> > http://www.slovaktech.com/products.htm
> >
> >
> > "Jean" <jean@cq2.com> wrote in message
> > news:6403507f.0401230155.4a904926@posting.google.com...
> > > 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

> >
> >

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off