Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-access > #11968

Re: Code library and classes

From "Stuart McCall" <smccall@myunrealbox.com>
Newsgroups comp.databases.ms-access
Subject Re: Code library and classes
Date 2016-08-15 23:04 +0100
Organization Aioe.org NNTP Server
Message-ID <note9p$1kd8$1@gioia.aioe.org> (permalink)
References <d6fdbb09-d4e1-4fb5-a404-51bb3a0e3cf6@googlegroups.com>

Show all headers | View raw


<internet.shopping@foobox.com> wrote in message 
news:d6fdbb09-d4e1-4fb5-a404-51bb3a0e3cf6@googlegroups.com...
>I trying to set up an .accdb code library to use with a number of programs. 
>Not sure why I haven't done this years ago!
>
> Is it possible to define classes in a code library for use in the main 
> database?  I am having a problem with it at the moment.
>
> Jim

You could set up a public function in the ACCDB that returns a new class 
object:

Public Function New_Thing1() As ClassName
    Set New_Thing1 = New ClassName
End Function

Back to comp.databases.ms-access | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Code library and classes internet.shopping@foobox.com - 2016-08-15 12:04 -0700
  Re: Code library and classes "Stuart McCall" <smccall@myunrealbox.com> - 2016-08-15 23:04 +0100
    Re: Code library and classes internet.shopping@foobox.com - 2016-08-16 07:11 -0700
      Re: Code library and classes Mike P <mikewpayne@tiscali.co.uk> - 2016-08-17 06:50 -0700
        Re: Code library and classes internet.shopping@foobox.com - 2016-08-18 04:44 -0700
      Re: Code library and classes "Stuart McCall" <smccall@myunrealbox.com> - 2016-08-17 21:06 +0100

csiph-web