[AccessD] Weird error upon open

Susan Harkins ssharkins at gmail.com
Fri Aug 7 09:57:35 CDT 2015


Thanks Jim -- quick review of the function and it doesn't work exactly as I
thought. I'm going with your idea -- a constant.

Susan H.

On Fri, Aug 7, 2015 at 10:51 AM, Jim Dettman <jimdettman at verizon.net> wrote:

>
>  Without more context it's hard to say, but my guess would be that the VBE
> is not open as yet.
>
>  I've never used that method to get the module name, I always use a
> constant.
>
> Jim.
>
> -----Original Message-----
> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of
> Susan Harkins
> Sent: Friday, August 07, 2015 10:41 AM
> To: Access Developers discussion and problem solving
> Subject: [AccessD] Weird error upon open
>
> The following function is throwing an error when the database throws any
> error upon opening:
>
> VBE.ActiveCodePane.CodeModule
>
> The rest of the time, it works fine. This only breaks when the first thing
> I try to do produces an error. Any idea why?
>
> Susan Harkins
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>


More information about the AccessD mailing list