I find that looking at a demonstration or sample database is a great way to learn more about Access. Microsoft has some great samples databases here on Micorsoft Office Online. that demonstrate some really neat techniques for forms, reports, and queries.
Monday, October 13, 2008
Sample Access Databases From Office Online
Posted by
Stephen
at
8:30 AM | Permalink
|
I'm reading: Sample Access Databases From Office OnlineTweet this!
| Add This!
| Blog This |
0
comments
Labels: forms, queries, reports, working example
Tuesday, March 18, 2008
Preventing Page Breaks In The Middle Of Your Subreports
Today I was working with a large report with six or seven subreports. Since the subreports are all set to "grow" the page lengths vary and sometimes the page breaks come where I don't want them.
ACC2000: Keeping Subreport or Text Box Data Together on a Page shows how to solve this by creating artificial report sections.
Posted by
Stephen
at
6:00 AM | Permalink
|
I'm reading: Preventing Page Breaks In The Middle Of Your SubreportsTweet this!
| Add This!
| Blog This |
0
comments
Labels: reports
Thursday, March 6, 2008
Filtering Using Multi-Select List Boxes
Another really common Access question goes like this:
- How do I use a multi-select list box to filter my report?
- or How do I let my user select multiple items and then open a form or report showing those items?
List boxes allowing multiple selections are a pretty natural user interface. Think "print a report for three different departments" or "include these four employees in the sales graph". Creating and using criteria for your form or report with a multi-select list box is a lot different than a combo box or single select list box, but it's not hard at all once you've seen it in action and done it a couple of times.
Posted by
Stephen
at
7:52 PM | Permalink
|
I'm reading: Filtering Using Multi-Select List BoxesTweet this!
| Add This!
| Blog This |
0
comments
Labels: forms, list boxes, reports
Sunday, February 17, 2008
Use a Pop-Up Form To Filter Your Report
How do I use a form to specify criteria for my report using a form? There are a number of ways to do this. This post in the code archive at UtterAccess.com is really neat. It demonstrates a report popping up a form to collect criteria from the user.
Posted by
Stephen
at
6:00 AM | Permalink
|
I'm reading: Use a Pop-Up Form To Filter Your ReportTweet this!
| Add This!
| Blog This |
0
comments
Saturday, February 2, 2008
Filtering Crosstab Queries
- I have a report pulling data from a crosstab query. I want to add a date range criteria and also display the start and end date of the result.
- Need to transpose data...crosstab?
- ACC2000: Error When Running Crosstab Query with a Parameter (from Microsoft)
- Crosstab query techniques | Handle Paramaters (from Allen Browne)
If you create a crosstab query that uses an implicit parameter [XXX] or a form reference in a WHERE clause (criteria), you may receive the following error message:And including your parameter or a reference to the form control in the query's parameter list solves it quickly and easily. Allen Browne's article has a step-by-step description of doing that.
The Microsoft Jet database engine does not recognize '[XXX]' as a valid field name or expression.
Buried within one of the Access posts listed above is the phrase:
"You can use the Parameter names in the Report just like a Field in the RecordSource of the Report."What's that all about? I tried it and it's as simple as that. It's redundant when you're filtering on a form control, but when you let the query prompt for the parameter you can use the parameter in your report just like a column in your recordsource. Really neat for listing the selction criteria in a report's header.
Nice- it's 7:40 on Saturday morning and I've learned two things already today!
**Some links above corrected 2011-09-05**
Posted by
Stephen
at
7:11 AM | Permalink
|
I'm reading: Filtering Crosstab QueriesTweet this!
| Add This!
| Blog This |
0
comments
Labels: critera, criteria, parameters, queries, reports
Sunday, January 20, 2008
Grouping records on date/time values in an Access report
Access reports have some really powerful capabilities. This article demonstrates using the sorting and grouping functions to group reports on a range of dates.
Posted by
Stephen
at
6:00 AM | Permalink
|
I'm reading: Grouping records on date/time values in an Access reportTweet this!
| Add This!
| Blog This |
0
comments
Labels: Date and time, reports
Monday, November 12, 2007
Using SnapShot files to distribute reports
This article from Microsoft Office Online reviews the use of the Snapshot file format to distribute reports.
I've used snapshot in my organization for a couple of years now and have found them very usable. They provide all of the benefits normally associated with PDF files, and can be easily generated from Access without any additional components. Compared with saving to Word or RTF they have the advantage of preserving all your report formatting.
The article covers the basics of saving a snapshot file manually from a print preview window, but it doesn't cover automating the production of snapshot files. What makes this task harder is that the the snapshot format is not covered in the help or the list of allowed constants for the relevant commands. Despite this, it's really easy once you know how. And in this post I'll tell you how.
Posted by
Stephen
at
7:45 PM | Permalink
|
I'm reading: Using SnapShot files to distribute reportsTweet this!
| Add This!
| Blog This |
1 comments
Tuesday, October 2, 2007
Reports: Print only the current record to a report
Here's a good basic method for filtering a report based on the current record on a form.
Posted by
Stephen
at
10:36 AM | Permalink
|
I'm reading: Reports: Print only the current record to a reportTweet this!
| Add This!
| Blog This |
0
comments
Tuesday, September 25, 2007
Access Dynamic Reports
Posted by
Stephen
at
8:01 AM | Permalink
|
I'm reading: Access Dynamic ReportsTweet this!
| Add This!
| Blog This |
0
comments
Labels: reports
Saturday, September 22, 2007
Forms: Refer to Form and Subform properties and controls
Here's a useful reference to the right way to refer to a control on a form, or a control on a subform on a form, etc. Getting the syntax just right can be tricky.
Posted by
Stephen
at
12:25 PM | Permalink
|
I'm reading: Forms: Refer to Form and Subform properties and controlsTweet this!
| Add This!
| Blog This |
0
comments
