Variable Scope & Visibility in Microsoft Access VBA (Public, Private, Dim, Global, etc.)

  Рет қаралды 7,356

Computer Learning Zone

Computer Learning Zone

Күн бұрын

Пікірлер: 25
@petewarby7158
@petewarby7158 Жыл бұрын
I mean this is UNBELIEVABLE. I have been trying for days to find a way to do something re using field values between forms and this has nailed it! I'm creating a gallery form for my wife's cake business and couldn't figure how to grab text field contents to copy to another form's field to load the image from. This is AWESOME. I should bin Google off and just trawl your videos. Brilliant. BRILLIANT. I've commented before to say my entry level database would have been BORING but your videos have turned it in to (what i think) is a work of art!!!
@599CD
@599CD Жыл бұрын
Awesome. Glad you find them helpful.
@coderdecoder5947
@coderdecoder5947 Жыл бұрын
Excellent. I’m truly impressed with your teaching ability and the way you organize things.
@599CD
@599CD Жыл бұрын
Thanks
@ashishtrivedi8253
@ashishtrivedi8253 2 жыл бұрын
You have explained scope of variable in great detail and with working codes. That was great help, thx a ton.
@599CD
@599CD 2 жыл бұрын
You are welcome!
@MadGenious
@MadGenious Жыл бұрын
Man Access is old school.. really wish you start making Oracle 19c courses, you teach really well and i have no one to guide me even tho it's alot better than access especially at large scale databases.
@599CD
@599CD Жыл бұрын
Access is where it's at.
@rabidfollower
@rabidfollower 2 жыл бұрын
Excellent video, and an important topic too since the concept of scope and visibility applies to any programming language. Sometimes you also need to use naming convention to denote scopes. I use "G_" to prefix all global-level variables and "M_" to denote module-level ones.
@599CD
@599CD 2 жыл бұрын
Thank you.
@satyabanukil779
@satyabanukil779 3 ай бұрын
Yes. Video quite helpful and comprehensive. A tutorial on building a SUM Module or function would be useful. In excel it is easy but for Access, it is not that easy.
@599CD
@599CD 2 ай бұрын
599cd.com/DSum
@stuartround
@stuartround 2 жыл бұрын
Really useful and beautifully explained. Thank you!
@599CD
@599CD 2 жыл бұрын
Glad you enjoyed it!
@RobertTozzi
@RobertTozzi Ай бұрын
Ty for a great video on scope. It'll be handy to know that Public variables in forms will be accessible only while open. I like using "Public" bc the idea of anything being "global" is basically a scam (see my playlists for details).
@599CD
@599CD Ай бұрын
Ah, I see what you did there. :)
@venkatyalamati3285
@venkatyalamati3285 2 жыл бұрын
Thanks for the tutorial sir!!!
@599CD
@599CD 2 жыл бұрын
My pleasure!
@artistryartistry7239
@artistryartistry7239 2 жыл бұрын
1:47 isn' there module level too?
@599CD
@599CD 2 жыл бұрын
Well, there are FORM modules and DATABASE modules (global modules) so that's why I didn't just say "module-level." Who's module is it?
@artistryartistry7239
@artistryartistry7239 2 жыл бұрын
@@599CD Gotcha. It's amazing the number of terms surrounding modules their rules and their variables!
@glennpitts1312
@glennpitts1312 Жыл бұрын
This is a great lesson on this topic Richard. I haven't been able to specify a Public Variable in a query (a separate form) as defined (by name).. Do you need to use a function to do that? ]
@599CD
@599CD Жыл бұрын
599cd.com/QQ
@jazbaacademyarts
@jazbaacademyarts 2 жыл бұрын
FRRRR all the layering n buttons i cant keep up
@599CD
@599CD 2 жыл бұрын
Layering? Not me.
Tips on Copy & Paste Technique for Microsoft Access Form & Report Controls
8:24
Computer Learning Zone
Рет қаралды 11 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Microsoft Access Tips | How to EDIT Records using VBA Recordsets
17:46
Archive Records: Archiving Old Data in your Microsoft Access Database
25:47
Computer Learning Zone
Рет қаралды 11 М.
How to Use Global Variables in Microsoft Access VBA
13:25
Sean MacKenzie Data Engineering
Рет қаралды 9 М.