Wrapper Class Template Wizard V2
LEARN MS-ACCESS TIPS AND TRICKS
by a.p.r. pillai
5M ago
 Streamlining Form Module Code in Standalone Class Module. Class Module Template Creation Wizard. The earlier version of the Class Module Wizard was a testing platform for creating Wrapper Class Module templates. Although it served its purpose, the procedure adopted there is somewhat semi-automatic, and I am not satisfied with that either.  This improved Version 2.0 of the Wizard can create several Class Module Templates for different Object Types in your form. This Version creates about 10 frequently used Objects Wrapper Class Module Templates, based on your selection of choices at ..read more
Visit website
Wrapper Class Module Creation Wizard
LEARN MS-ACCESS TIPS AND TRICKS
by a.p.r. pillai
6M ago
Streamlining Form Module Code in Standalone Class Module. Wrapper Class Module Wizard. We organize controls on the form into groups based on their type, such as TextBox/Field, CommandButton, or ComboBox, and create separate wrapper class modules for each group to handle their event subroutine codes. All class modules follow a similar structure, with declarations for the Form and Control objects in the global area, and followed by property procedures for these objects. Event Subroutines come next and need the correct TextBox/Field Names from the form for writing the Code below each Case stateme ..read more
Visit website
Classes For All Data Entry Editing Forms
LEARN MS-ACCESS TIPS AND TRICKS
by a.p.r. pillai
7M ago
 Streamlining Form Module Code in Standalone Class Module. Ready-made Class Modules for Data-Entry, Editing, or Viewing. All the TextBox and ComboBox Controls, on the data handling Form, when enabled with the Dirty(), and  BeforeUpdate() Event Procedures are fully protected from unintentional changes.  Manually writing code for every TextBox and ComboBox on a form can lead to duplication of work and inefficiency. Moreover, modifying event procedure names for each field to match the control name can become tedious and error-prone. Typically, only essential fields undergo this kin ..read more
Visit website
Streamline Filter By Character Sort
LEARN MS-ACCESS TIPS AND TRICKS
by a.p.r. pillai
8M ago
 Streamlining Form Module Code in Standalone Class Module. Data Filter by Character and Sort on Form. Version 1.0 of this Article was originally published in April 2009 and introduces a significant change in the Demo Application in Version 2.0. In this version, the Event Subroutines are executed from the standalone class module, rather than from the form module. After realizing the advantages of Event Procedures Coding in Standalone Class Modules, I found it difficult to revert to the traditional, less organized, and time-consuming Form/Report Module VBA Coding procedures. In the tra ..read more
Visit website
Streamline Zoom-in Control Data Editing
LEARN MS-ACCESS TIPS AND TRICKS
by a.p.r. pillai
9M ago
 Streamlining Form Module Code in Standalone Class Module. Editing Large Text Box Contents in Zoom-in Control. This topic was initially released in August 2007 and titled "Edit Data in Zoom-in Control." In the preceding example, a custom shortcut menu was devised and linked to the form to activate the zoom-in control, enabling the editing of textbox contents with multiple lines of data, akin to the notes field in the Employees Table. The earlier version of the customized Shortcut Menu for the Employees Form is in the image below for reference. The built-in Shortcut Menu underwent cu ..read more
Visit website
Streamlining Code Reminder Popup Form
LEARN MS-ACCESS TIPS AND TRICKS
by a.p.r. pillai
9M ago
 Streamlining Form Module Code in Standalone Class Module. Reminder Popup Form. Introduction. Understanding the significance of reminders is paramount. When it comes to important occasions such as a family member's or friend's birthday, adequate preparation time is crucial. Being notified at least two days beforehand ensures that we don't overlook these events amidst our busy schedules and other pressing commitments. When considering business-related activities, let's examine the Inventory System of a Pharmacy as an example. It's imperative to print out a list of medicines that fall below ..read more
Visit website
Streamlining Code Database Compacting Utility
LEARN MS-ACCESS TIPS AND TRICKS
by a.p.r. pillai
10M ago
 Streamlining Form Module Code in Standalone Class Module. The Database Compact/Repair Utility. The 'Compact on Close' Option in Microsoft Access. When enabled under File --> Current Database --> Application Options, this feature automatically compacts the database every time you open and close it. Additionally, you can manually select the Compact/Repair option from the File menu to Compact and Repair the active database. If you need to compact an external file, you can choose the Compact and Repair option from the Database Tools Menu. If you prefer to refrain from performing the C ..read more
Visit website
Streamlining Code Synchronized Forms
LEARN MS-ACCESS TIPS AND TRICKS
by a.p.r. pillai
10M ago
Streamlining Form Module Code in Standalone Class Module. The article on the Synchronized Floating Popup Form was originally published in February 2009. The notable difference is that the Event Subroutine code, once written in the Form Module, is now executed from the Standalone Class Module. All events triggered from the form and controls, such as TextBoxes and Command Buttons, are now captured in the Standalone Class Module, with the corresponding event subroutines being executed outside the Form Module. This exemplifies a paradigm shift where Form Module VBA codes are run from the Standalon ..read more
Visit website
One TextBox and Three Wrapper Class Instances.
LEARN MS-ACCESS TIPS AND TRICKS
by a.p.r. pillai
11M ago
 Streamlining Event Subroutines in Standalone Class Module. The Standalone Class Module Coding Rules overview. One Wrapper Class Module for several objects of the same Type (E.g.: TextBox) on the Form. Example: ClsTextBox. One Event Subroutine per Event for several Objects of the same type on the Form. Example: Private Sub txt_AfterUpdate() Select Case TypeName(Ctl) Case "TextBox" Select Case Ctl.Name Case "Text0" 'Code Case "Text2","Text4","Text6" 'Code ..read more
Visit website
The Event Firing Mechanism in Access Objects
LEARN MS-ACCESS TIPS AND TRICKS
by a.p.r. pillai
11M ago
 Streamlining  Event Subroutine Code in Standalone Class Module. How Does the Event Firing Mechanism Work within Access Objects? This topic was briefly touched on during the Presentation of  Streamlining Form Module Code in the Standalone Class Module for Access User Groups (Europe) Chapter.  The Event-related Key Words: Event, RaiseEvent, and WithEvents. Event - used to Define an Event. RaiseEvent - to Invoke the Event. WithEvents - to Capture the fired Event and execute the Event Subroutine Code. In the preceding articles, we gained insights into the utilization of ..read more
Visit website

Follow LEARN MS-ACCESS TIPS AND TRICKS on FeedSpot

Continue with Google
Continue with Apple
OR