Microsoft Access Cheat Sheet: Tips and Shortcuts

Microsoft Access is a database managementyour print settings. The solution is to use the
system that allows you to create and processTEXT function to convert the value returned by
data in a database, which has rapidly become thethe NOW function to text.
database of choice for Windows based databaseText, as opposed to a number, will stretch into
development. If you are self taught and have notthe next column. There are two arguments in the
had any Microsoft Access training you areTEXT function. The first is the value to convert
probably unaware of the many shortcuts availableto text, the second is the format to show it in.
within Access. This article aims to provide someCustom number codes in quotation marks should
useful tips and shortcuts to help you when usingbe used to specify the format. For example,
Access.TEXT(NOW(),"ddd dd/mm/yy hh:mm") will return
Tipsthe current date and time in the format MON 09
Here are a few simple tips to make using Access10/06 11:38.
easier:Archiving data
Importing a Microsoft Word tableIf you can't bear the thought of deleting obsolete
To import a Microsoft Word table into Accessrecords you can instead flag them with a Yes/No
follow the steps described below:field. You can then use the value in this field to
-In Word select the table you wish to import, clickdetermine whether to show records. For
on the Table menu, select Convert and click Tableexample, you could only display records with a
to TextYes value in your queries, reports, forms and so
-Copy your selected table into a new documenton.
and save it as a text fileAutomatically compact and repair
-In Access use the Get External Data commandTo ensure optimum performance you should
to import the contents of your newly createdcompact and repair your Microsoft Access files
text fileregularly. In the Tools menu select Database
Use wildcards in the search text boxUtilities and then click on Compact and Repair
You can use wildcards such as question mark (?)Database. You can simplify the process and get
and asterisk (*) in the search text box. TheAccess to do this for you automatically by
question mark will match any single character, forcompleting the following steps:
example, s?t will find "set" and "sat". The asterisk-Open the Access database or project you want
will match any number of characters, forAccess to compact automatically
example, s*d will find "sad", "started" and-On the Tools menu select Options
"standard".-Click on the General tab
Display current date and time in a column of any-Select the Compact on Close check box
widthShortcuts
The function =NOW() will return the current dateIt is true that the keyboard is faster than the
and time, but when entered in a column which ismouse for a number of commonly used tasks
not wide enough to display the returned value thebecause you don't have to go through the point,
cell displays 3 hash symbols. You could get roundselect and click sequence. Here is a list of speedy
this by widening the column but this is not alwayskeyboard shortcuts that you can use to save
convenient, the column may already be at itsyou time when working with your Access
maximum width to be able to see all the columnsdatabases.
on one screen or it may force you to change