[AccessD] select more then one

Jim DeMarco Jdemarco at hshhp.org
Tue Aug 26 10:50:52 CDT 2003


Sounds like it's not recognizing chbProductcode1 as a control.  You could try changing the argument type to a variant to see if it works although this is not the most efficient way to do it.  Or is it possible that one of the  Fieldx_x controls being referenced in the For...Next blocks does not exist?

Jim DeMarco



-----Original Message-----
From: Pedro Janssen [mailto:pedro at plex.nl]
Sent: Monday, August 25, 2003 1:41 PM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] select more then one


Hi Jim,

This did the trick, but when i click on chbProductcode1 i get another error:
error 424 object needed. Also the,   ShowHide(chbProductcode1) is
highlighted in yellow.

What could this be?

Pedro


----- Original Message -----
From: "Jim DeMarco" <Jdemarco at hshhp.org>
To: "Access Developers discussion and problem solving"
<accessd at databaseadvisors.com>
Sent: Monday, August 25, 2003 12:24 PM
Subject: RE: [AccessD] select more then one


> Is this code in a form module?  If not that's why the error.  In that case
use Forms(myformname).Controls
>
> Jim DeMarco
>
> -----Original Message-----
> From: pedro at plex.nl [mailto:pedro at plex.nl]
> Sent: Monday, August 25, 2003 5:10 AM
> To: AccessD at databaseadvisors.com
> Subject: Re: [AccessD] select more then one
>
>
> i is already changed into inner. It has something to do with Cotrols,
because this is selected.
>
> Pedro.
>
>
>
>
> In antwoord op:
>
> > From: Gustav Brock <gustav at cactus.dk>
> > To: Access Developers discussion and problem solving
> > Date: Mon, 25 Aug 2003 08:32:43 +0200
> > Subject: Re: [AccessD] select more then one
> >
> >
> > Hi Pedro
> >
> > i could be declared somewhere else as a public variable?
> >
> > /gustav
> >
> >
> > > Hello Gustav and Jim,
> >
> > > Option Explicit is always present in the declarations section of my
modules.
> > > So that can't be the reason for the error. Any other idea's why this
error
> > > can occur.
> >
> > > By the way, i think Gustav is correct. It must be a tough holiday
because i
> > > missed, i = inner.
> >


_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


***********************************************************************************
"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message.  Thank You".
***********************************************************************************



More information about the AccessD mailing list