If… Then… Else Macro in Access - learnit

Home Top Ad

Post Top Ad

Thursday, April 15, 2021

If… Then… Else Macro in Access

If… Then… Else Macro in Access

If… Then… Else Macro in Access

Microsoft Access is a Database Management System (DBMS) from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software development tools. It is a member of the Microsoft Office suite of applications, included in the professional and higher editions.


-Microsoft Access is just one part of Microsoft’s overall data management product strategy.

-It stores data in its own format based on the Access Jet Database Engine.

-Like relational databases, Microsoft Access also allows you to link related information easily. For example, customer and order data. However, Access 2013 also complements other database products because it has several powerful connectivity features.

-It can also import or link directly to data stored in other applications and databases

-As its name implies, Access can work directly with data from other sources, including many popular PC database programs, with many SQL (Structured Query Language) databases on the desktop, on servers, on minicomputers, or on mainframes, and with data stored on Internet or intranet web servers.

-Access can also understand and use a wide variety of other data formats, including many other database file structures.

-You can export data to and import data from word processing files, spreadsheets, or database files directly.

-Access can work with most popular databases that support the Open Database Connectivity (ODBC) standard, including SQL Server, Oracle, and DB2.

-Software developers can use Microsoft Access to develop application software.


Microsoft Access stores information which is called a database. To use MS Access


-Database Creation − Create your Microsoft Access database and specify what kind of data you will be storing.

-Data Input − After your database is created, the data of every business day can be entered into the Access database.

-Query − This is a fancy term to basically describe the process of retrieving information from the database.

-Report (optional) − Information from the database is organized in a nice presentation that can be printed in an Access Report


What is a macro?

A macro in Access is a tool that allows you to automate tasks and add functionality to your forms, reports, and controls. For example, if you add a command button to a form, you associate the button's OnClick event to a macro, and the macro contains the commands that you want the button to perform each time it is clicked.


In Access, it is helpful to think of macros as a simplified programming language that you write by building a list of actions to perform. When you build a macro, you select each action from a drop-down list and then fill in the required information for each action. Macros enable you to add functionality to forms, reports, and controls without writing code in a Visual Basic for Applications (VBA) module. Macros provide a subset of the commands that are available in VBA, and most people find it easier to build a macro than to write VBA code.


IF Statement

It is one of the powerful conditional statement. If statement is responsible for modifying the flow of execution of a program. If statement is always used with a condition. The condition is evaluated first before executing any statement inside the body of If.

Please Watching My Video is Below

No comments:

Post a Comment

Post Top Ad