|
Home Page Bloglines 1906 CelebrateStadium 2006 OfficeZealot Scobleizer TechRepublic AskWoody SpyJournal Computers Software Microsoft Windows Excel FrontPage PowerPoint Outlook Word Host your Web site with PureHost!
|
![]() Saturday, May 03, 2008 – Permalink – Sample Queries, Forms, ReportsExamples to part outThis sample queries database contains examples of useful database queries, including the crosstab query, the union query , and the join query Sample: query topics database Here are some other sample databases. They are all for Access 2000, but the installed base is predominantly in that format. Access 2000 is also the default format for Access 2002 and 2003. Sample Access databases that you can download and adapt
Some forms include:
[Edited entry from 1/5/2005] See all Topics Labels: Access <Doug Klippert@ 6:12 AM
Comments:
Post a Comment
Monday, April 21, 2008 – Permalink – Cascading Combo BoxesEverything's connected
A cascading combo box solution: Roger J. Carlson CascadingComboBoxes.mdb (beginner) CascadingComboInSubform.mdb (intermediate) [Edited entry from 12/29/2004] Labels: Access <Doug Klippert@ 6:12 AM
Comments:
Post a Comment
Tuesday, April 15, 2008 – Permalink – List Box FilterMultiple selectionsFilter a Report based on List Box Fabalou.com: "How to open a report based on a multiple selection in a list box. For example, you may have a list of makes of car and a report that shows various details for each make of car. You want to allow the users to select a range of cars and pull up the report according to that selection."
Labels: Access <Doug Klippert@ 5:28 AM
Comments:
Post a Comment
Sunday, April 13, 2008 – Permalink – Canada/US Postal CodesAutomatic Input masksIf you have a mix of Canadian and US postal codes, you might play with the following code inserted as a Country control "After Update" Event property.
See: Trinity University - San Antonio, Texas: Labels: Access <Doug Klippert@ 5:52 AM
Comments:
Post a Comment
Sunday, April 06, 2008 – Permalink – Add a TableDrag drop trickWhile working with a query in Design view, you may find that you need to add a table or query. The "book" way to do it is to click the Show Table toolbar button, drag the appropriate objects from the list, and then close the dialog box. There is another way to do this.
Labels: Access <Doug Klippert@ 6:48 AM
Comments:
Post a Comment
Saturday, March 29, 2008 – Permalink – Week NumbersWho's counting?For most purposes, weeks are numbered with Sunday considered the first day of the week. This works most of the time, but it can be a little confusing certain years.
If your week starts on a different day, you can use the Analysis ToolPac function:
"The function WEEKNUM() in the Analysis Toolpack addin calculates the correct week number for a given date, if you are in the U.S. The user defined function shown here will calculate the correct week number depending on the national language settings on your computer."
datepart("ww",[DateField],7,1)
<Doug Klippert@ 7:20 AM
Comments:
Post a Comment
Thursday, March 27, 2008 – Permalink – Entry CheckerA second chanceUnlike Word or Excel, Access does not warn you when data is changed. Unless you make a structural or code change, Access thinks you know what you want to know and allows you to enter or change data and the close the application without a squeak. There is a way around this: "In Microsoft Office Access 2007, by default, users are not prompted to confirm changes after modifying and saving records on a form. But often you might want to prompt users to confirm their changes before the record is saved. User Prompts (with a video) See all Topics Labels: Access <Doug Klippert@ 7:29 AM
Comments:
Post a Comment
Sunday, March 23, 2008 – Permalink – Reminder - Task - E-mailSent from AccessA great web site for Office information is Woody Leonard's WOPR.com. There are a couple of newsletters associated with the site including: Woody's ACCESS Watch
"If you have a table that contains a date field, and you want to make sure that something happens on that date, one way is to create an Outlook task with a reminder that will pop up on the specified date; you can even use the Outlook reminder to create an email message that will be sent on the specified date.
Helen Feddema has been working with Word since v. 1.1, Access since the beta of v. 1.0, and Outlook since the beta of v. 8.0 (that's where Outlook started its version numbering). [Edited entry from 12/22/2004] See all Topics <Doug Klippert@ 6:46 AM
Comments:
Post a Comment
Saturday, March 22, 2008 – Permalink – Default SaveChoose your own locationWhen you choose to save most Office files, the Save dialog box defaults to the Documents or My Documents folder. (The following directions work in 2007, but you need to click on the Office button in the upper left corner of the Window)
Change the folder where e-mail messages and attachments are saved Also: D.C. Everest school district Weston, WI: Office Default Paths If you don't want to change the default, but would like to be able to quickly go to an alternate site, open the Save or Save Attachment dialog box. On the left side of the box is the Places Navigation bar. If you click the Desktop icon, that location will be used to save the file. You can add spots to the bar. Browse to the specific folder. Highlight the folder and click the down arrow beside the Tools option. Select "Add to My Places." The file or e-mail attachment can then be saved where you want. [Edited entry from 11/05/2004] See all Topics Labels: Access, Excel, Outlook, PowerPoint, Word <Doug Klippert@ 7:42 AM
Comments:
Post a Comment
Monday, March 17, 2008 – Permalink – Forms and DataGood comboIn Access, tables can be a bother to use for data entry. Constructing a Form can make it easier. Here is an MS demo about combining the two: "While working with forms, a split form can be a very useful view because you simultaneously get two views of the form that are connected to the same data source. Form and data ![]() See all Topics Labels: Access <Doug Klippert@ 7:38 AM
Comments:
Post a Comment
Friday, March 07, 2008 – Permalink – Tips HandoutAccess tidbitsWoody's Lounge at Wopr.com is a good location to find information on most anything computer like. Here is a downloadable handout with tricks to use with Access. Tips Handout See all Topics Labels: Access <Doug Klippert@ 6:53 AM
Comments:
Post a Comment
Saturday, March 01, 2008 – Permalink – OLAP CubesMore dimensions than Star trek
<Doug Klippert@ 7:04 AM
Comments:
Post a Comment
Tuesday, February 26, 2008 – Permalink – Set Field DefaultsSpeed up table creation with default field settings
In Access 2007 go to Access Options>Object Designers: ![]() See all Topics Labels: Access <Doug Klippert@ 6:38 AM
Comments:
Post a Comment
Monday, February 25, 2008 – Permalink – Legacy files from 2007Go backRead this article closely. If you work in a situation where you need to work with legacy (pre-2007) files, it may be handy. If you do most of your work in 2007, I wouldn't bother. "When you use Windows Explorer or the desktop to create a new 2007 Microsoft Office file, a new Office file is created in an XML file format (.dox or .xlsx). For example, this behavior occurs when you right-click the desktop, you point to New, and then you click Microsoft Office Word Document. By default, files that you create in the 2007 Office system are in XML file formats. Knowledgebase 935787 See all Topics Labels: Access, Excel, PowerPoint, Word <Doug Klippert@ 7:46 AM
Comments:
Post a Comment
Thursday, February 21, 2008 – Permalink – VBA, Named ArgumentsAn easier read
MsgBox(prompt[, buttons] [, title] [, helpfile, context]) When you work the MsgBox function this way, the order of the arguments can't be changed. Therefore, if you want to skip an optional argument that's between two arguments you're defining, you need to include a blank argument, such as: MsgBox "Hello World!", , "My Message Box" Named arguments allow you to create more descriptive code and define arguments in any order you wish. To use named arguments, simply type the argument name, followed by :=, and then the argument value. For instance, the previous statement can be rewritten as: MsgBox Title:="My Message Box", _ (To find out a function's named arguments, select the function in your code and press [F1].) See all Topics Labels: Access, Excel, PowerPoint, Word <Doug Klippert@ 7:53 AM
Comments:
Post a Comment
Saturday, February 09, 2008 – Permalink – Display the Current Record NumberWithout navigationYou may want to remove the navigation buttons from an Access form but still display the current record number. Not the ID or serial number, but the record number that would appear in the navigation box.
Labels: Access <Doug Klippert@ 7:05 AM
Comments:
Post a Comment
Wednesday, February 06, 2008 – Permalink – Quick Subforms and SubreportsDrag 'em on overWhen you need to create a subform or subreport, you probably use the Subform/Subreport tool from the Toolbox to draw where you want to add the control. You can also create subform and subreports using drag and drop. Simply open the main form or report in Design view, then drag the appropriate form or report from the Database window to where you want the control created. Note that you'll still need to set Link Child Fields and Link Master Fields properties on the new control. See all Topics Labels: Access <Doug Klippert@ 6:59 AM
Comments:
Post a Comment
Saturday, February 02, 2008 – Permalink – Filter Multiple SelectionsTable sortsIn a table's Datasheet view, you can filter multiple selections in a few simple ways.
Creating a Query would let you save your filter, but these methods can be used to quickly display the desired information in a table. (In 2007 these options are on the Home tab in the Sort & Filter group)
Labels: Access <Doug Klippert@ 7:14 AM
Comments:
Post a Comment
Wednesday, January 30, 2008 – Permalink – E-mail Access FormQuestion and collectionAccess 2007 has a wizard that will walk you through the process of sending an information gathering form through Outlook. The wizard is on the External Data tab in the Collect Data group. ![]() "You begin with the Collect Data Through E-mail Messages Wizard, which guides you through the steps of creating a form. Collect data by using e-mail See all Topics <Doug Klippert@ 7:15 AM
Comments:
Post a Comment
Saturday, January 19, 2008 – Permalink – Convert Access Macros to VBAMacros to Modules
In 2007 go to Database Tools and look in the Macros group. Labels: Access <Doug Klippert@ 6:59 AM
Comments:
Post a Comment
Thursday, January 17, 2008 – Permalink – What the ####Truncated Numbers
Labels: Access <Doug Klippert@ 6:07 AM
Comments:
Post a Comment
Monday, January 07, 2008 – Permalink – Copy Access Data to New RecordsFewer stepsThe Paste Append feature is often overlooked in Access. This feature lets you quickly create new records that copy existing information from other records. To see one way to use the feature, open a table in Datasheet view.
You'll now have an appropriate number of new records in the table that contains the information you copied. See all Topics Labels: Access <Doug Klippert@ 8:01 AM
Comments:
Post a Comment
Saturday, January 05, 2008 – Permalink – Sandbox WarningAvoid the dark spotsAccess 2003 added another security feature - slash - PIA. Jet 4.0 has had a protective mode in the past, but Access 2003 takes it seriously.
"To help enhance the security of your data, you have the option of running Access 2003 in sandbox mode. In sandbox mode, Access evaluates only those expressions in field properties and controls that are safe. An expression is considered safe if it does not use functions or properties that could be exploited by malicious users to access drives, files, or other resources for which they do not have authorization. For example, functions such as Kill and Shell could be used to damage data and files on a computer, so they are not considered safe.
About Microsoft Jet Expression Service sandbox mode
"Unless yours is a stand-alone computer (not part of a network), and you don't ever connect to the Internet, and no one ever has physical access to your computer, or your databases and other files are protected with strong passwords, you should not even consider setting the macro security level to Low."
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines] Access 2007 sandbox 2007 has fewer warning messages. Earlier versions of Access forced you to deal with a variety of alert messages - macro security and sandbox mode, just to name two. By default, if you open an Office Access 2007 database outside of a trusted location, you see a single tool called the Message Bar. New in 2007 VB123.com:
Labels: Access <Doug Klippert@ 4:12 AM
Comments:
Post a Comment
Thursday, December 27, 2007 – Permalink – Resize FormIt's fitting
Labels: Access <Doug Klippert@ 7:17 AM
Comments:
Post a Comment
Wednesday, December 19, 2007 – Permalink – Quickly Query Table NamesChange by code
Labels: Access <Doug Klippert@ 3:57 AM
Comments:
Post a Comment
Sunday, December 16, 2007 – Permalink – Office VBA tricksVideo + Free codeQuick tips VBA Video "Learn tips and use sample code for several Office applications. These tips can help you to be more productive and can also be a starting point for developing your own tools, utilities and techniques."
Ten Tips for Office VBA Developers [Edited entry from 10/22/2004] See all Topics Labels: Access, Excel, Outlook, PowerPoint, Word <Doug Klippert@ 5:00 AM
Comments:
Post a Comment
Tuesday, December 11, 2007 – Permalink – Add Objects to the Query GridEasy additionsIf you need to add a table or query to a query you're building in Design view, you most likely click the Show Table button, drag the appropriate objects from the resulting dialog box, and then close the dialog box. However, there's a much easier way to do this. Simply drag the table or query object's icon directly to the gray background of the query design grid. This same technique also works with Access's Relationships window. See all Topics Labels: Access <Doug Klippert@ 8:02 AM
Comments:
Post a Comment
Thursday, December 06, 2007 – Permalink – Info DocsThings you need to knowWOPR.com has a great lounge with members who can answer most any question you can come up with. Steve Hayward prepared a couple of Access papers that contain vital information about databases. Golden Rules Normalization Doc See all Topics Labels: Access <Doug Klippert@ 6:57 AM
Comments:
Post a Comment
Saturday, December 01, 2007 – Permalink – Splash ScreenBrand your appYou can replace the Access splash screen with your own logo. Access displays a quick splash screen when you launch it. You can replace that splash screen with a graphic of your own. Save a bitmap graphic in the same folder as the database. Give the graphic the same name as your database and make sure it has a BMP extension. (MyDatabase.BMP) Now when you launch Access by double-clicking on the database icon or its shortcut, you will see your logo instead of Access's default screen. You can also make the graphic 1x1 pixels, so it won't be seen. Advisor.com: Create Personalized Splash Screens for Access MS Knowledge Base: How to Create a Custom Startup "Splash" Screen [Edited entry from 10/17/2004] See all Topics Labels: Access <Doug Klippert@ 6:31 AM
Comments:
Post a Comment
Friday, November 09, 2007 – Permalink – Null ParameterShow somethingIf a user doesn't specify a parameter value, you can use a wildcard with the parameter in the format Like [Enter Name] & "*" The problem with this is that the query will return records that partially match the criteria. For instance, if users searching for records based on last name enter a parameter value of "Smith" they'll also get the records for Smithers, Smithfield and Smithson. Another problem is that the parameter query will ignore any records where the field being searched contains a Null value when you try to return the entire recordset with a blank parameter. To fix this, set up a query to limit responses to explicit parameter entries, but still allow users to return all records by leaving the parameter blank. If you're searching for LastName, open the query design grid and add LastName to it. In the Criteria row for the field, enter the parameter prompt [Enter Name] Then, in the next blank column of the design grid, enter the same parameter (everything between and including the square brackets) in the Field text box. Finally, in the Or row, enter the criteria Is Null . If you're using any additional criteria for other fields, make sure to copy that criteria to the Or line as well. See all Topics Labels: Access <Doug Klippert@ 6:14 AM
Comments:
Post a Comment
Saturday, November 03, 2007 – Permalink – Automation - VBA - Help FileOffice Wide
See all Topics Labels: Access, Excel, Outlook, PowerPoint, Word <Doug Klippert@ 6:45 AM
Comments:
Post a Comment
Monday, October 22, 2007 – Permalink – Change Access RibbonOh, Fooey (F U I)
Customizing Ribbon in Access 2007 See all Topics Labels: Access <Doug Klippert@ 6:45 AM
Comments:
Post a Comment
Tuesday, October 16, 2007 – Permalink – Access 2007 Developer ExtensionsNo cost tool"The Access Developer Extensions include the following components: Access Templates Developers Extensions See all Topics Labels: Access <Doug Klippert@ 7:22 AM
Comments:
Post a Comment
Saturday, October 13, 2007 – Permalink – Send Access to WordReformat reportsNot everyone has Access installed on his or her machine. Access is not the most versatile instrument for complex formatting.
Labels: Access <Doug Klippert@ 7:49 AM
Comments:
Post a Comment
Friday, October 05, 2007 – Permalink – Getting Started in Access '07Old command locations
Labels: Access <Doug Klippert@ 7:29 AM
Comments:
Post a Comment
Wednesday, October 03, 2007 – Permalink – Update Data to DefaultJust a keystroke awayYou probably know that you can set up a default value for Access to enter into a field when a new record is created. This can be done in the Design view for a table or form by setting the Default Value property. Unfortunately, you sometimes may set a default value after you've already entered records into the database. When you do so, the existing records aren't automatically updated to equal the new default. However, if you're editing a record and you want to update the field to the current default, you can do so with a keystroke shortcut. To do so, simply select the appropriate field and press [Ctrl][Alt][Spacebar] See all Topics |