I meant to include "what error are you getting when compiling"?
--
Regards,
OssieMac
"OssieMac" wrote:
> I tested the code form Allen Browne's site and had no problem with it.
>
> http://allenbrowne.com/ser-56.html
>
>
> --
> Regards,
>
> OssieMac
>
>
> "TybeeDi" wrote:
>
> > I'm trying to use the Function LockBoundControls which is a public function
> > and posted on several help sites. It uses
> > If HasProperty(ctl, "ControlSource") Then
> >
> > which won't compile in Access 2007 but gives me no problem in ver 2002. Any
> > suggestions on how to port this code?