[AccessD] A couple of syntax questions
Stuart McLachlan
stuart at lexacorp.com.pg
Sat Jan 15 21:38:47 CST 2022
LIke Rocky, I don't want to mess around with separate libraries. They can be problematic
when distributing applications.
I've got several generic modules with full tested functions. I just insert whichever ones are
needed for the application. Things like:
modZip ( various compression/decompression routines)
modLinker ( for relinking/changing BEs etc)
modCrypto (hashing, creating/extracting encrypted file etc)
modCommonAPI (OSUsername, KnownFolders,Open/Save file,Folder Browse etc)
...
On 15 Jan 2022 at 18:19, Rocky Smolin wrote:
> My reluctance with libraries is that when you send the app to the
> client they have to be sure that they have that library. WHich is why
> I collect my public subs in a module called publics. And when I
> create a new app, I import Publics from the most recent app. If the
> new app only needs 1/2 of the publics no problem. Just inconveniences
> a few electrons.
>
> r
>
> On Sat, Jan 15, 2022 at 3:44 PM Arthur Fuller
> <fuller.artful at gmail.com> wrote:
>
> > Hi John,
> > Thanks for confirming my guess. However, I have neve created a
> > library in Access. How do I go about this? In case it matters, I'm
> > using Office 365 almost exclusively. fr occasional circumstances I
> > have a VM with 32-bit Office installed, but those needs are very
> > occasional, and becoming rarer and rater.
> >
> > On Sat, Jan 15, 2022 at 6:31 PM John Colby <jwcolby at gmail.com>
> > wrote:
> >
> > > 2/3 Yes move to a library and then reference it. The point is to
> > > have functionality in one place so that bugs only have to be fixed
> > > one place.
> > >
> > > On Sat, Jan 15, 2022 at 4:26 PM Arthur Fuller
> > > <fuller.artful at gmail.com> wrote:
> > >
> > > > 1. If a procedure or function declaration is not declared
> > > > Private, is
> > it
> > > > thus Public?
> > > > 2. More a style question than a syntax question. Concerning the
> > > > code
> > > behind
> > > > a form, it sometimes happens to me that I realize that the body
> > > > of what
> > > was
> > > > a Private function could be extracted and turned into a public
> > > > sub or function and reused elsewhere. Instinct tell me that this
> > > > reusable sub
> > or
> > > > function should be moved outside the form's code and placed
> > > > elsewhere. Correct, or doe it not matter? 3. Preamble: I have a
> > > > collection of modules containing code that I'll
> > > need
> > > > in most if not all serious projects (by serious I mean 100+
> > > > tables, as
> > > many
> > > > basic forms to address the lookup tables etc., many more
> > > > queries, and
> > > then
> > > > all the master-detail forms). I have gather all these into a a
> > database.
> > > > Beginning a new project, I typically import all these functions
> > > > and
> > subs.
> > > > Is there a better way, such as creating a library and
> > > > referencing it, similar to the #include and "Uses" statements in
> > > > other languages
> > > >
> > > > On another note, when I converted an app to 64-bit, I discovered
> > > > that
> > > Rick
> > > > Fisher's *Find and Replace* no longer worked. A little searching
> > > > i
> > Google
> > > > led me to AccessDevTools' *Find and Replace. * They have a trial
> > version,
> > > > which I downloaded, tried for two days,and promptly bought a
> > > > license.
> > > This
> > > > product far surpasses; this is not meant as a slam on Rick's
> > > > original product, not at all. For years regarded it as an
> > > > essential tool. But
> > now
> > > in
> > > > the era of 64 and with the benefit of time, this product goes
> > > > far
> > beyond.
> > > >
> > > > --
> > > > Arthur
> > > > --
> > > > AccessD mailing list
> > > > AccessD at databaseadvisors.com
> > > > https://databaseadvisors.com/mailman/listinfo/accessd
> > > > Website: http://www.databaseadvisors.com
> > > >
> > >
> > >
> > > --
> > > John W. Colby
> > > Colby Consulting
> > > --
> > > AccessD mailing list
> > > AccessD at databaseadvisors.com
> > > https://databaseadvisors.com/mailman/listinfo/accessd
> > > Website: http://www.databaseadvisors.com
> > >
> >
> >
> > --
> > Arthur
> > --
> > AccessD mailing list
> > AccessD at databaseadvisors.com
> > https://databaseadvisors.com/mailman/listinfo/accessd
> > Website: http://www.databaseadvisors.com
> >
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
More information about the AccessD
mailing list