How to sort Reports by date in Access. Access Archon #163 You might need to group records by date using another interval that is not available in the Group On list. If the interval is regular, you can create a query field, such as the Decade field in qryMembers: Decade:
A reader responds to the AW article on the new “save to PDF” feature in Access 2007. Tom Van Dam writes: just finished reading your latest Access Watch on the new PDF feature in Office 2007. I have often wanted to save files to PDF format for storage and later
Here’s an updated way for you to add backup capability to an Access database. Access Archon #151 Introduction A few years ago, in Access Archon #115, I described a way to create backups of the current database, using several objects that you could import into a database, to make
How to back up database objects before making changes to them. Q: Jean H. writes: “I am constantly making changes to forms, reports and other database objects, and sometimes I find that a change doesn’t work, and I need to return to an earlier version. I do back up my
How to develop applications using Access and deploy them as standalone applications. Q: Kamlesh Chand wants to develop applications using MS Access and deploy them as standalone applications (i.e., applications that can be run on machines that do not have MS Access installed on them). How can this be done?
How to get text values from the user’s selection of an option. Q: Julia H. writes: “I have an option group with choices for different areas of the country, and when the user clicks on one, I want to get the name of the area. But I can only assign
How to add a specified number of records to a table. Q: Kacie Anderson writes: “I have two tables, one for Orders and one for Loads and both of which contain an OrderID field to link them together (the OrderID is autogenerated). For each order, there can be multiple loads.
How to link dBASE tables to Access tables. Q: Mark Kraus writes: “I have data on approximately 3,000 clients in a table developed in dBase IV. I am trying to load the data into an Access 2002 table and then use the Access table in an application I’m developing in
Version 10 of Total Access Analyzer is out now, ideal for anyone who develops in Access. FMS has released v. 10 of Total Access Analyzer, the premier product for analyzing Access databases. This version supports Access 2002, both for Access 2000 and Access 2002 formatted databases. Track down those unused
How to customise the captions on MessageBox buttons. Q:Piet Boden wants to know if it is possible to change the text displayed on the buttons in a MessageBox.A: Not on a message box produced by the MsgBox function, though you do have a choice of various buttons. You will need
How to print envelopes directly from Access. Q:Jim Coxon writes: “What I need to do is to print envelopes directly from Access. i.e. Customer rings up for tickets, agent enters details into Access using a form, form is printed, agent puts tickets into envelope. If we could print the envelope
A reader offers this great tip to save time when creating new databases. Chuck Roberts writes with a suggestion that saves time when creating a new database: I frequently make new databases. So I created a blank database with a template form, a template report, and all my standard subroutines.
How to get calculated fields to display zero. Q: Rob Stoker writes: I have a calculated field which is sum([nettprice]*[quantity]) which works ok. However if there is no data then it displays #Error. I have tried the Nz function, and tried the IIf function but I can’t seem to stop
Information on an unpatched security glitch in Word 2002 (Office XP). Microsoft has disclosed a unpatched security glitch in Word 2002 (Office XP) only,click here for more …
Charles Hui writes: After reading your article “ACCESS Archon Column #44 – Merging to Word from Linked Access”, I have expanded my WORD template to include a table and have successfully created letters using custom doc property and table together. In our letters, the fixed Borrower Name and Address are
How to make one cell in a datasheet subform a different color than the others using conditional formatting. Q: Rosie W. writes to ask if there is any way to make one cell in a datasheet subform a different color than the others. This control is locked, and she wants
How to use Access 2007’s new “multi-valued fields” feature. Access Archon #159 Access 2007 has a new feature for fields: one field can now hold multiple values. This feature is called “multi-valued fields,” and is implemented by creating a field with the Lookup Wizard. On the first screen of the
How to list detail items on a report in the order they were entered. Q: Scott Campos writes: “I want the invoice report to print in the same order as is entered on the order form. This makes it much easier to manually double check an order to make sure
Access Archon #144 The following sample VBS program will show how to extract these values: Option Explicit Function FindZip (Str) Dim re, Matches Dim Zips(2) Set re = New RegExp re.Pattern = “((d{5})(-(d{4}))?)” Set Matches = re.Execute (Str) If Matches.Count =
Playing audio and video files using the Windows Media Player Control. Access Archon #138 Introduction Since the earliest days of Access, you have been able to sound a beep from Access code, or a macro (the code is simple: DoCmd.Beep). But if you want something more sophisticated, say playing a
How to place bar codes on Access reports. Q: Keith Hills wants to know if there is a way to place bar codes on an Access report. A: You would need to get a font that can print the bar codes. I have a Zip font, from an installation of
The second part of the article on merging Access data with Word documents. Access Archon #130 The remaining part of the cmdWordDocs Click event procedure is listed below, with the code for the Doc Props, Mail Merge and TypeText methods for merging Access data to Word documents. DocProps: With
A reader’s having problems setting margins to very small. Q: Robert Byrne writes: “I am using Access 2000 to create signs. It’s similar to a mail merge. I have a database with product information and create signs 5.5 x 4.25. It all works great except Access won’t let me change
How to display data from other fields in the same record that’s selected in a combo box. Q: Robert Colum wants to know how to display data from other fields in the same record that is selected in a combo box. A: This can be done easily using the Column