A macro is a text body into which textual substitutions may be made possible at assembly or run time.

Once defined it looks like the code that would be present if typed/written long hand. Macro's are used to simplify the use of an operating system or program. In some system's macro's can be nested so that in their expansion a macro definition can contain other macro's. Example With an operating system such as Windows 9x/NT/Me/2000 there is a desktop which the computer automatically boots to.On the desktop are a group of shortcuts to various programs or areas of the operating system. When the user clicks on one of the shortcuts a program/sub-program opens ready for use.

This shortcut is a macro that saves the user from independently locating the appropriate executable file for the program desired and loading and running the program. Databases are widely used in the computing industry. They are a means of collating data and then retrieving that data at a specific point in time either directly or by using search criteria.First a history lesson. By the 1970s, the advent of new technologies for the transmission, storage, and distribution of data, once the prerogative of book publishing, had become a problem for the industry; television screens and databases became symbols of the challenges to editors and publishers alike. The increasing use of sophisticated copying machines posed new problems to the need of publishers and authors to protect their property by copyright, and in 1976 the U.

S.Congress passed a major revision to their Federal Copyright Law that attempted to define to what extent published material could be reproduced without payment of royalties. In the late 20th century, computers and such related innovations as the CD-ROM and the Internet allowed publishing to expand, making readily updated texts available on-line and on disk and fostering multimedia presentations and interactive uses. The easy access to and copying of electronically published material created additional copyright issues, and in 1998 U.

S.Congress passed legislation that extended copyright protection to on-line material. In addition, the wide availability of computer-driven desktop publishing technology to small presses and individuals gave impetus to the production of a wide variety of self-published books. Technology also led to the development of the "electronic book," which combines the storage, search capabilities, and adaptability of a computer with the simulated page format of a traditional book; early versions appeared in the late 1990s and were called databases.Most Investigators are conditioned to think of a database as a source for obtaining record searches such as Civil, Criminal, Fictitious Business Names, Corporations, etc.

They are databases that may be searched in order to obtain the necessary background information needed on a specific subject. The reason to use a database is because information needs to be managed. Information can be analysed using printed summary reports or lists for cases due today, next week, or next month. A database is a collection of data that you can sort, search, add to, edit and print when needed.Imagine the database as the container that holds your information, and as such, being able to organise and manipulate it. A database such as Microsoft Access(r), called a Database System, contains numerous tables or files, which store information about related topics.

Due to the relational design of Microsoft Access(r), information can be joined between files, therefore, eliminating duplicate data entry. For example, picture the client file: a user can see all the related records to his/her client such as the case, contacts, invoices, other cases, transactions and so forth.With Microsoft Access(r), a user can access data from other files to use in the current file. A relational database allows data from another file to be displayed, edited, and used in the current file. Each occurrence of data is stored in only one file at a time, but a user can access and work with that data from any file.

Because data from a related file is displayed in, and not copied into the master file, you always see the data in its current state. An exception to this is when you need the data in its original state, then Microsoft Access(r) is designed to look-up the data.One example would be if a Subject had a change of address. The user would not want the address to change in the original case. He/she may want to know the address at the time the case was created. A relational database is used to set up and manage data efficiently and with flexibility.

Instead of creating many database files that together store multiple occurrences of data, a user can store single occurrences of values in smaller files. A user can then work with the data in many ways. A user can make any changes to data in only one place, which promotes data accuracy.An important factor in all of this, is that it saves disk space because the data is stored in only one place. In the event a user is using a network or there is more than one person using the database, an administrator will want to set up access privileges and passwords. This promotes file security by controlling who can use a file and particular fields and layouts, and which tasks they can perform.

A database's core construction can be represented visually as in Fig. 10. It can be seen that the database is made up of several layers. The Interface is where the user and applications can access and interact with the database.

The Database Manager manages the flow of data around the database and between the database and the user/applications. The database is the confines within which the raw data is stored and handled. The raw data is the data that is input by the user/applications for use for indexing/retrieval later. It appears clear that by the purchase of CAD/CAM not, only could the production rate be increased dramatically but the overall image of a company could be improved by being able to promote an advanced, competitive machine shop that would be capable of producing almost any item that could physically fit on the machines the Company owns.Savings could be obtained from other areas such as reducing the required skill level actually at the machine, which consequently means that these operators could be paid less. Skill levels will need to be maintained to allow the machines to be programmed and set to work but this will involve the use of fewer skilled people (and therefore reduced higher rates of pay).

These men would already be conversant with Cad/Cam, as there would often be an allowance in the cost of the software for the programmer/setter(s) to go on a training course on the operation of most Cad/Cam programs.An independent quality control system would need to be implemented but, as already stated, could be performed by the programmer/setter as he won't be at the machine front. There would be no significant cost involved for setting this up as all measuring equipment would already be in place for inspection since the current operators would be maintaining their own quality control. Also the programmer/setter(s) should be able to identify the best process to achieve the finished product.The only cost attributable to setting this up would be the requirement to log the inspections for future quality referrals (be that on a PC or by a paper method). Databases allow the rapid development of a Cad/Cam program to be constructed as repetitive figures would not need to be constantly re-entered.

These figures could be given as drop down menus, which can be swiftly accessed by the programmer. Macro's also enable a programmer to reduce his program production time by reducing the number of repetitive keystrokes down to just one to perform the same sequence of actions.