- •2. Data, Information, knowledge
- •Flat file database model is a database that stores data in a plain text file. Each line of the text file holds one record, with fields separated by delimiters, such as commas or tabs.
- •Advantages
- •For every record in a child table (the “many” side), one and only one matching record must be in the parent table (the “one” side).
- •12. Designing the database
- •Specifying Field Data Types
- •Sorting records
- •Sorting by two or more fields
- •19. Filtering
- •22. Filters and Queries
- •Adding Selection Criteria
- •23. Performing Calculations in a Query
- •Using Aggregate calculations (Totals) in a Query
- •24. Parameter queries
- •25. Update queries
- •26.Make-table query
- •27. Three ways to arrange information for display or distribution
- •28. Record source can be
- •Creating Simple Forms with the Form Wizard
- •32. Creating a form in design view
- •33. The list of properties depends on current selection.
- •The easiest way to create an input mask is to use the Input Mask Wizard.
- •41. You can specify customized responses to user actions, such as clicking a button, opening a form, or selecting an option in an option group.
- •Events are grouped into eight categories, depending on the effects of the event. For example, some events relate to the data, others to filters, and still others to keyboard actions.
- •Associating the Macro with a Report Event
- •Some PivotTable Terms
- •Item – an element in a field.
- •To create a one-dimensional PivotTable that shows the data field details, you do the following:
- •Creating a PivotChart Report
The easiest way to create an input mask is to use the Input Mask Wizard.
Display the property sheet of the field to which you want to apply the input data.
Click the data tab.
Click inside the Input Mask property.
Click the ellipsis (…) button to start the Input Mask Wizard.
In the Input Mask List, click the input mask you want.
Use the Input Mask box to make changes to the mask.
Click the option that matches how you want the field data stored in the table
With the Symbols in the Mask – click this option if you want the extra symbols stored along with the data.
Without the Symbols in the Mask – click this option to store only the data.
Click Finish.
36. DESIGNING FORMS FOR EFFICIENT AND ACCURATE DATA ENTRY
Data entry is one of those tasks that can be called dangerous. It is important that the data must be entered accurately. As a forms designer you can reduce this danger by setting up your forms so that data entry is both as efficient as possible and as accurate as possible.
Preventing errors by validating data
You must avoid “improper” data:
Data that is the wrong type. For example, entering a text string in a cell that requires a number.
Data that falls outside an allowable range. For example, entering 200 in a cell that requires a number between 1 and 100.
Using Option Buttons to Present a Limited Number of Choices
Option buttons are a good choice if the underlying field accepts only a limited number of possible numbers: at least two but no more than five or six. (if you have more, use a list box or combo box).How does having multiple option buttons on a form enable you to store a single value in a field? There are two components to consider:
The options buttons – you assign each option button a value from among the list of possible values that the field can take.The option group – this is a separate control that you use to organize the option buttons. That is, if you insert multiple option buttons inside a group, Access allows the users to activate only one of the buttons at a time.
40. Macro
is a list of one or more actions that work together to carry out a particular task in response to an event. Each action carries out one particular operation. You can create the list of actions in the order in which you want them to execute. In addition to selecting the action to be taken, you can specify other details of the action called arguments, which provide additional information, such as which form to open or how to filter the records to be displayed. You can specify customized responses to user actions, such as clicking a button, opening a form, or selecting an option in an option group. Macros are easier, because you select the actions and their arguments from predefined lists, which helps prevent any errors in construction.
Macros can be either embedded in the form or report or available as separate Access objects in the Navigation pane. macro is a list of one or more actions that work together to carry out a particular task in response to an event.
Macros can also respond to system conditions.
Also, frequently performed actions can be automated using macros.
Creating a macro as a response to an event is an alternative to using a control wizard.
Writing event procedures in Visual Basic is another alternative, but it requires some skill in programming with precisely constructed commands written in established syntax.
You can set
conditions under which the macro action is to be performed, such as to display a message box if a field contains a certain value or is blank.
The macro runs only if the condition evaluates to TRUE. If the condition is FALSE, the action is skipped. Then, if another action is in the macro, it is executed. If not, the macro stops.
Types There can be embedded and standalone macros:
you can embed the macro directly in the event property or it can be an individual object.