Access Database Systems

WelcomeBlog

Are your business objectives being met?

Do you need specialised Access database consulting or an Access database solution? Our software is dedicated to providing assistance toward increasing efficiency and productivity of the small or medium sized business.

If you do not have the resources or time to develop software for your business, you may find something of interest here.

Posts Tagged ‘Microsoft Office Access’

MS Access 2007 help

Saturday, February 6th, 2010

MS Access 2007 is the version of Access that changed everything. The interface is like no previous version and takes some getting used to. Instead of the classic toolbars and menus we now have what is known as ‘The Ribbon.

It is easier to now create basic forms and reports. Unfortunately there is not a lot of MS Access 2007 help available at this stage and it is important to get the correct training as soon as possible.

How much MS Access 2007 help needed will vary from person to person. Some need more training than others. We all learn differently and there are aspects of MS Access which are complicated.

Take for example database relationships – these are the backbone of any good MS Access database and it is useful to have a good understanding.

On this site I have created a great MS Access 2007 help product. Students have got great value from it and now it is available online or on DVD.

MS Access Macro – How To Open a Report

Wednesday, January 20th, 2010

An MS Access macro is a great tool for automating our databases. We can use Microsoft Access macro actions for many tasks.

In this demonstration I am going to open a report by using a macro.

The MS Access macro designer has three main columns
1. Macro Name
2. Action
3. Comment

Enter the name of the new MS Access macro in the ‘Macro Name’ column.
Now move to the ‘Action’ column and select the ‘OpenReport’ action.
Look towards the bottom of the screen and you will see the action arguments section. Enter the name of the report in the report name section. In the view section select the view you wish to see the report in. In this example I want to see it in print preview mode.

Now save the MS Access macro and close the designer window.

Create a brand new form in design view.
Now make sure the wizard button is clicked as you want to use a wizard for the next step.
From the toolbox control area you want to click the command button control.
Drop the button onto the form.
The wizard will now load and you will see two columns – categories and actions.
Select from the categories box the option called miscellaneous.
From the actions box select the run macro action.
Click the ‘Next’ button and on the next screen select the macro that you saved earlier.
Click the ‘Next’ button and on the next screen add text to the button.
Click the finish button.

Now run the form and click your command button.
The Microsoft Access macro will run and your report will open in print preview mode.

The MS Access macro makes our life so much easier. We don’t need to learn complex programming code to add power to the database.

To further your learning of the MS Access macro check out this great new MS Access macro ebook.

Working with Microsoft Access databases

Sunday, January 3rd, 2010

One should always use the right tool for the right job. If you want to store large volumes of data and have many users then think if Microsoft Access databases are the best way to go.

Microsoft Access databases tend to be better suited to small systems with around ten or less users. For anything more substantial you are better looking at something more robust such as SQL Server.

When working with Microsoft Access databases which have a small number of users you should aim to put one copy of the database on the network. This database should contain only the tables.

Each user should have a copy of the database on their PC with everything in it except the tables. Each of the users will have a connection to the database sitting on the network. This will speed things up a little and also can help to prevent corruption or system crashes.

Microsoft Access databases have always suffered from stability problems, but over the years with each new release there has been an improvement.

Another option is to have Microsoft Access databases connect to SQL Server. The database table will come from SQL Server and the forms, queries etc will all be in MS Access.

Not only does SQL Server offer better stability, it can also handle larger volumes of data and has better security.

Whatever solution you choose to implement it is worth planning out your system and taking into account expected data volume. Also consider how expandable the system is and whether the number of users is likely to grow by much in the future.

Using Microsoft Access database queries

Sunday, January 3rd, 2010

Entering data in a database is done through tables or forms, but when we want to get our data out we should use Microsoft Access database queries.

A Microsoft Access database query can produce a complete or a subset of data. You can also choose to restrict the data returned based on criteria you feed in. For instance you could tell the Microsoft Access database query to return all sales figures in Australia for the final quarter.

A Microsoft Access database query can return data quickly depending on the volume of data it has to crawl through. When you just want to return information you would use what is known as a select query.

Besides a select query there are also action queries. Examples of action queries are update, delete, append and make table queries.

A Microsoft Access database query can include calculation columns. You can create a temporary column that holds a calculation as part of the results set. You may have a column with a quantity and another that holds a unit price. Your temporary column could contain a calculation to multiply unit price by the quantity.

Another great thing about a Microsoft Access database query is that it can be used to clean up data. Say for instance you have thousands of records and you wish to update all or certain records to start with a capital letter. You could do this instantly with a query.

Microsoft Access database queries are an important part of any good database system. Look at how you can put them to good use in your system.

Microsoft Access 2007 for dummies

Sunday, January 3rd, 2010

The world’s most popular desktop database, Microsoft Access has seen many versions. The latest is known as Office Access 2007 and is the most radical release yet. It offers a wide range of features for beginners and seasoned users alike. There are many books on the market including “Microsoft Access 2007 for dummies” which will aid understanding of this powerful database software.

Some may take offence at being referred to as a dummy however and may seek out alternative means to learn. I believe this is a wrong attitude to take. It’s just a title after all and a catchy one at that.

Although MS Access is easy enough for beginners to start creating databases, there is more to consider if you want to build powerful systems. Sometimes a simple form is not going to cut it and you may soon find you want to add more features. How will a book help? It will present database theory and will certainly aid understanding, but is no substitute to having a tutor talking to and guiding you.

I have to admit to using dummies books myself in the past and have found them to be very informative. I recall starting off with both the MS Dos and Windows dummies books and learning a great deal this way. The books are fun to read and make the subject entertaining.

Lets face it, many of us dread having to learn new things as we get older and technology for some proves difficult. I have not used Microsoft Access 2007 for dummies, but if it is as good as other books in the series then it will certainly benefit the reader.

We always learn by doing. Sure it is possible to read endless text on a subject, but it all comes down to taking action and putting into practice what we have learnt. Mistakes will be made, but that is always a big part of the learning process. An Access database is no different to any other subject. It takes time and effort to build good systems.

The best way to learn is to pick a tutor that breaks the subject down into its easiest format. It should start at the begininng and should not overwhelm the pupil with computer jargon and theory. Whether you use a course or a book, seeing your Access database results take shape can be a pleasure in itself.

Advantages of using a Microsoft Access Database

Sunday, January 3rd, 2010

In today’s information age we are becoming less reliant on paper. When keeping records, be it household or business, it is a good idea to keep our information using some kind of computer solution. A Microsoft Access Database provides the perfect solution to our problems.

There are different approaches we can take. We could look at entering our information into a spreadsheet such as Microsoft Excel. Many people keep their household bills and receipts in a spreadsheet.

Although there is nothing wrong with using a spreadsheet for record keeping, this is not always the best solution. A spreadsheet is mainly used for accounting purposes where we need to perform calculations on data.

By far a better solution would be to keep our information in a database. There are many database solutions on the market, but by far the most popular is a Microsoft Access Database.

Microsoft Access comes as part of the Microsoft Office suite of programs and globally there are literally millions of businesses and other types of users who make good use of it.

How is our data stored? Microsoft Access tables are used to hold information and these tables can be related together. For instance a customer table can be related to a sales table. Likewise there is a relationship between a student table and a courses table.

A Microsoft Access Database can also pull information out in seconds. This of course will depend on the amount of information held in the database, but generally information retrieval is fast.

To retrieve information from a Microsoft Access Database you would use what is known as a query. Think how long it would take if you were to shift through pieces of paper to find the information you were looking for.

Look at what a Microsoft Access Database can do for you or your business. You may be pleasantly surprised at the benefits.

What is a database?

Saturday, February 7th, 2009

A database is a collection of information. A Microsoft Access database provides a mechanism for storing, retrieving and manipulating that information.

How To Add A Spellchecker To An Access Database Form

Friday, January 30th, 2009

When entering data one can occasionally misspell a word or two. We are all used to having a spell checker at hand when typing a Word document for instance.

Why should a spell check be limited to Word documents? Surely it would be of benefit if we could incorporate something similar in an Access database.

Well, I have some good news. We can do exactly that!

Create a form with a text box or memo field.

Enter some text into either of these controls.

Create a command button on your form.

Go into the properties of the button and set the caption to be ‘Spell Check’.

Right click the command button and select ‘Build event’.

Between the Private Sub and the End Sub enter the following code

You can copy and paste it if you like

With Me![My control name]
If Len(.Value) > 0 Then
DoCmd.SetWarnings False
.SetFocus
.SelStart = 1
.SelLength = Len(.Value)
DoCmd.RunCommand acCmdSpelling
.SelLength = 0
DoCmd.SetWarnings True
End If
End With

Replace the words inside the square brackets [My control name] with the name of your own control that you want to spell check.

Save the code and close the code window.

Now run your form and click the button.

Enter some misspelled text in your control and then click the spell check button.

You will find you get a similar spelling suggestion box that you have seen many times before when writing Word documents.

Let’s look at what’s actually happening in this code.

Don’t worry too much about understanding it – I will cover programming in further tutorials. This will give you a general idea though.

I want you to spell check this control

With Me![My control name]

If there is something in that control then go ahead and spell check it

If Len(.Value) > 0  Then

Turn all warning messages off for now

DoCmd.SetWarnings False

Focus to the control I want to spell check

.SetFocus

Start at the first character

.SelStart = 1

And continue to the last character of the word

.SelLength = Len(.Value)

Now run the spell check

DoCmd.RunCommand acCmdSpelling

Clear the variable used for the length of the word ready for the next spell check

.SelLength = 0

Turn all warning messages back on

DoCmd.SetWarnings True

Access Database Versions

Monday, December 15th, 2008

Over the years MS Access has not changed much in terms of it’s interface and the basic building blocks it contains. I started off using Access version 2. This was a good version in many respects, but was prone to being unstable when handling large amounts of data or users. The Jet database engine has always suffered from these problems. You could still accomplish a lot and build rather nice systems.

Access version 2 was the version that really established Access as the new great tool on the block. Competitors around at the time were Paradox, DBase, Dataease, Lotus Approach etc. MS Access had the big name of Microsoft behind, was part of the MS Office suite and quickly established itself in the marketplace. Many companies advertised for Access developers to develop systems.

Access 95 was a version that seemed to come and go. It was part of Office 95 and was not seen as being much of an improvement on Access 2.

Access 97 came next and this was a vast improvement on all previous versions. In fact this was my favourite version so far. Even though I have Access 2000 I feel more comfortable using Access 97. I find it less bloated and contains only what I need. It was certainly more stable than Access 2.

Access 2000 is a good robust version that carries on and enhances the great Access legacy. I found it to be faster than previous versions. It introduced the ability to write native SQL queries and pass them through to a more professional database such as SQL Server or Oracle.

Access 2003 – again not much has changed. It seems slightly buggy, but no doubt the service packs have overcome any issues.

Access 2007 – I have only started to look at this and my initial impressions are not favorable. The file format is no longer MDB and the interface is a complete overhaul. I believe it is too much too soon. For anyone new to an Access Database it will pose few problems, but for others who have used previous versions it will take some getting used to.

There is no more database window  – it has been replaced by what is known as the ‘Navigation Pane’.

The menu bars are now replaced by the new MS Office standard of a Ribbon. You will either love or hate this at first.

There are some nice touches though. I particularly like the fact that you no longer have to worry about creating or implementing a calendar. Simply create a date field in your table and Access will create a small calendar icon next to it on your form. When you click this you will get a pop up calendar. No coding needed.

Security is no more. This may or may not be an issue. Security was always a problem in previous versions and an Access Database could never really be defined as being secure. You could connect to a secured Access Database from another database system. Not only that, but implementing what security there was could never be described as straightforward.

If you want a secure Access 2007 database now it is recommended you move to SQL Server Express or higher.

The Access Database has come a long way since it first took the world by storm in 1992.

1992 Access 1.1
1993 Access 2.0
1995 Access 95
1997 Access 97
1999 Access 2000
2001 Access 2002
2003 Access 2003
2007 Access 2007

Microsoft Access 2007

Tuesday, December 9th, 2008

Microsoft Access is alive and kicking and is available in it’s latest incarnation “Access 2007″.
It is unclear just how many companies have switched to it or Office 2007 in general, but I suspect the take up is slow.

Personally I am not keen on Access 2007 because it seems too much of a radical change from what we have been used to in the past. No doubt the introduction of the ribbon type toolbar is the way forward for MS Office products, but it can be frustrating to use.

It is not clear where the save button is for instance. Where is the undo command? Others have told me they don’t like the new security model or lack of one. I probably need to explore Access 2007 more and get used to it all though.

HOW ARE YOU USING ACCESS IN YOUR BUSINESS?

I find it amazing that some companies are still using or supporting application written in Access 2.0. If budgets allow you should aim to upgrade to a newer version as Access 2.0 was never the most reliable of versions.

USE THE RIGHT TOOL FOR THE RIGHT JOB

If you need to perform calculations and do forecasting, use Excel not Access. If your database needs to cater for more than 5 or so users or even if it will be handling large volumes of information, consider using something such as SQL Server. Don’t try to make Access do too many things and stuff it with form after form. Keep your Access databases light and simple.

PLAN OUT WHAT YOU WANT YOUR SYSTEM TO DO

If you get it right or near enough from the beginning then it will pay dividends for you in the long run.
Here is how I plan out a system