48. VBA - Class Properties (Programming In Access 2013)

  Рет қаралды 39,313

Programming Made EZ

Programming Made EZ

Күн бұрын

Пікірлер
@OppositeAppearsToBeTrue
@OppositeAppearsToBeTrue 6 жыл бұрын
Hi Steve thank you for helping me put the last peace of the programming jigsaw together. Thank you again.
@samsum13
@samsum13 10 жыл бұрын
thanks for the videos, do you know how do we normally source control these classes, modules, forms, tables.....
@ProgrammingMadeEZ
@ProgrammingMadeEZ 10 жыл бұрын
Unfortunately there isn't any current source control system that I am aware of. Perhaps there is a 3rd party tool or application, but Microsoft discontinued it's source control plug in several years ago. In general Access applications don't get big enough for more than a handful of developers to be necessary. When it's that small communication between the developers is much easier and source control is not necessary. However, you could make an application to handle it.
@HarveyFrench
@HarveyFrench 9 жыл бұрын
Programming See OASIS SVN here dev2dev.de/. it's an Access addin that gives you a ribbon which can be used to export all access objects as text files. I then use git to manage the version history. It works reliably and is worth the money if you want to source control all your stuff.
@bgray79
@bgray79 9 жыл бұрын
So, I am a novice programmer, and am following your videos, as well as others. I enjoy your teaching and want to say Thank You! I am developing an Inventory Control Application for our plant. I understand that this is a big task for a novice. While watching the videos on Class Modules, I wonder if they are useful or needed for this type of application. I currently have tables for Parts, Suppliers, Supplier Contacts, SupplierPartNumbers (which is a join table), Warehouses, Locations, PartLocations, Categories and Users. Could there be a benefit in using class modules?
@ProgrammingMadeEZ
@ProgrammingMadeEZ 9 жыл бұрын
+bgray79 I would say about 95% of Access Databases do not have custom classes. However, I feel this more or less because developers of Access have long gone without them. VBA is not a true OOP language and therefore you do not get all of the benefits that you would from the .NET framework. But there will be times where using a class object would be the best way to handle a problem. For example, I wrote my own ADO and DAO classes to handle data transactions to eliminate JET/ACE engine resources. This increased the speed of transactions and allowed me to reduce the workload of the client app.
@bgray79
@bgray79 9 жыл бұрын
So ADO does not use the ACE engine nor does DAO use the JET engine?
@ProgrammingMadeEZ
@ProgrammingMadeEZ 9 жыл бұрын
+bgray79 The JET engine is the engine used by Access in all versions 2003 and prior. The ACE engine is the newer engine used by Access from 2007 until now. ADO and DAO are drivers that communicate with the engines. You can think of them as language interpreters that offer the communication between your application and the database engine. By using ADO or DAO, you can connect to just about any kind of database management system, but in doing so you leave it up to the engine to handle the actual storage and retrieval of the data. When you use linked tables and do not create a separate connection in your VBA code, then the ACE or JET engine (depending on your version of Access) will actually issue the request to the back end database, receive the data, then interpret that data to native Access storage. Your code then works directly with the ACE/JET engine instead of the actual server that is storing the data. This relaying and re-interpretation can cause significant speed issues when you deploy your front ends to certain enterprise environments because now the front end has to do some database translation.
@isaacepstein8484
@isaacepstein8484 4 жыл бұрын
You write, newcontact.Firstname = "Steve". Then write Debug.Print newContact.FirstName. Why doesn't it just print Steve? Why does it have to go into the clsContact class module? It could just print the value it currently has, i.e. Steve.
@josephkreifelsii6596
@josephkreifelsii6596 9 жыл бұрын
"Public Property" Sounds like something it's not
49. VBA - Class Constructors And Destructors (Programming In Access 2013)
16:41
51. VBA - Custom Events (Programming In Access 2013)
27:12
Programming Made EZ
Рет қаралды 37 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Zee Zeus | 2024 SHOWREEL
1:18
Zee Zeus
Рет қаралды 454
53. VBA - Recordsets Part 1 (Programming In Microsoft Access 2013) 🎓
20:01
Programming Made EZ
Рет қаралды 176 М.
50. VBA - Class Methods & Alternative Constructor (Programming In Access 2013)
19:07
39. VBA - Access Modifiers (Programming In Microsoft Access 2013) 🎓
20:23
Programming Made EZ
Рет қаралды 52 М.
How to Use Class Interfaces in Excel VBA
20:16
Excel Macro Mastery
Рет қаралды 82 М.
52. VBA - Custom Events Example (Programming In Access 2013)
15:19
Programming Made EZ
Рет қаралды 37 М.
Using Microsoft Access to Find Duplicates, Modify, Combine, and Present Data
21:58
Understanding Recordsets in Microsoft Access VBA - a Beginner's Guide
20:48
Computer Learning Zone
Рет қаралды 10 М.
Retrieving Real-Time Data Using a Web API in Microsoft Access
33:22
Computer Learning Zone
Рет қаралды 12 М.