[AccessD] A couple of syntax questions

Gustav Brock gustav at cactus.dk
Sun Jan 16 01:54:01 CST 2022


Hi Rocky

You can also – in a form or report module - start by typing Friend.
That limits the scope of the (sub)function to the current project:

Friend keyword:
https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/friend-keyword?WT.mc_id=M365-MVP-5002361

/gustav

Fra: Stuart McLachlan<mailto:stuart at lexacorp.com.pg>
Sendt: 16. januar 2022 04:39
Til: Access Developers discussion and problem solving<mailto:accessd at databaseadvisors.com>
Emne: Re: [AccessD] A couple of syntax questions

I just do it. Start typing "Function...." on the first line

My functions very rarely have Public or Private preceeding the word Function. (unless I want to have  a Private function in a standard module


On 15 Jan 2022 at 18:17, Rocky Smolin wrote:

> How do you create a sub or function without Private or Public in the first line?
>
>r


More information about the AccessD mailing list