Book Use your pdf converter to make your pdf files easy! You can now buy software that makes converting pdf to doc possible! Did you know you can even convert pdf to word? 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! ![]() |
![]() ![]() Thursday, December 24, 2009 – Permalink – List Fields in Access TablesBit o' codeWhen viewing a table that has many fields in Design view, you have to scroll up and down to review the field names. This can be tiresome when you're referring to them constantly, and particularly when you're working with several tables. The following code produces a field listing for a given table. This can then be copied to Notepad and printed for easy reference. Enter the code into a module, substituting your table's name where appropriate. Open the Debug/Immediate window, type ListFields, Press Enter to produce the listing. Sub ListFields() Dim dbs As DATABASE Dim dbfield As Field Dim tdf As TableDef Set dbs = CurrentDb Set tdf = dbs.TableDefs!NAMEOFYOURTABLE Debug.Print "" Debug.Print "Name of table: "; tdf.Name Debug.Print "" For Each dbfield In tdf.Fields Debug.Print dbfield.Name Next dbfield End Sub See all Topics access <Doug Klippert@ 3:33 AM
Comments:
Post a Comment
Friday, November 13, 2009 – Permalink – Link to Office Documents from AccessClick to Word, PowerPoint, ExcelYou can create hyperlinks in Access that jump to other Office documents. The process of specifying the document and the bookmark you want to jump to can be cumbersome. There's an easy way to specify where in a Word, Excel or PowerPoint document that a hyperlink should jump to, without even having to open the Insert Hyperlink dialog box.
See all Topics access <Doug Klippert@ 3:44 AM
Comments:
Post a Comment
Thursday, October 08, 2009 – Permalink – Copy PasteExcel tablesOne way to create a new table in an Access database from information included in an Excel spreadsheet is to select the pertinent data on the spreadsheet, including the field names. Copy the selection (Edit>Copy, or CTRL+C) Switch back to Access . With Tables objects being shown in the database window, choose Edit>Paste, or use the CTRL+V shortcut. Access will ask if the first row contains the field names and then will paste the information as a new database table. See all Topics access Labels: Tables <Doug Klippert@ 3:47 AM
Comments:
Post a Comment
Thursday, July 16, 2009 – Permalink – Access-Excel-XML-HTMLTransfer dataXML makes data transferable between applications. Here is a tutorial with downloadable files. Some simple guidance of how to transfer data from Excel or Access into HTML web pages using XML data files. VBA programs can be used to export data tables from Excel or Access into simple XML files. There are several examples of using different methods to display the XML and XSL files on web pages in order to quickly share your data with others. An introduction to Excel and XML data files Also: Some nice photos and calendar layout: Monthly calendar with photos See all Topics access <Doug Klippert@ 3:55 AM
Comments:
Post a Comment
Wednesday, June 10, 2009 – Permalink – Automaticaly Setup a DatabaseLink in a snapWhen you're creating a new database that will link to data that isn't in an Access format, you can speed up the setup process. Rather than creating a new database and then using the File>Get External Data>Link Tables,
See all Topics access <Doug Klippert@ 3:55 AM
Comments:
Post a Comment
Sunday, May 17, 2009 – Permalink – New Fields from Datasheet ViewTable fields on the flyWe all, of course, pre-plan our table layouts. However, if you need to create a table field while working in Datasheet view, you don't have to switch to Design view. There's a quick way to create a field from Datasheet view. Right-click on the column heading of the column you want to the right of your new field. Choose Insert Column from the shortcut menu. Access creates a field with a name such as "Field1". You can then immediately start entering data in. You can also use the shortcut menu to rename or delete the newly created field. Later you can go to Design view to set the field's properties. See all Topics access <Doug Klippert@ 3:19 AM
Comments:
Post a Comment
Sunday, April 26, 2009 – Permalink – Composite KeysMulti-Field KeysTo quickly create a multi-field primary key, while in the table's Design View:
University of Texas at Austin: Primary and Foreign Keys See all Topics access <Doug Klippert@ 3:05 AM
Comments:
Post a Comment
Saturday, April 18, 2009 – Permalink – Duplicate Table StructuresNo need to reinventWhen setting up a database, you may find that there is a table structure in another database that would be appropriate. You could Import the table, but then you have to clear out the useless records. Here's an easier way to do it:
To export a table definition from your current database to another:
See all Topics access <Doug Klippert@ 3:42 AM
Comments:
Post a Comment
Monday, March 30, 2009 – Permalink – Linked Table ProblemsLost functionalityHave you found that you cannot update linked Excel tables in Access 2003? If you have installed Microsoft Office 2003 Service Pack 2 (SP2): MORE INFORMATION Support.Microsft.com: You cannot change data in linked tables that are to an Excel workbook You might try reinstalling and then only installing SP1. Also: VB123.com: Guacamole dipped - Access to Excel linked table gotcha PCWorld.com: Patent ruling costs Microsoft $8.9 million "A jury in U.S. federal court found that Microsoft infringed on a Guatemalan inventor's 1994 patent on technology linking the company's Access and Excel programs, and ordered the world's largest software maker to pay $8.9 million in damages. See all Topics access <Doug Klippert@ 3:17 AM
Comments:
Post a Comment
Friday, February 13, 2009 – Permalink – Data ModelingData bits and piecesWhile a few of us may be guilty of constructing databases on the run, and then trying to clean up the mess later, the wise ones plan ahead.What information will you need in the future? What reports are going to be requested? If you're the bean counter, do you need to count all the legumes? "Data modeling is probably the most labor intensive and time consuming part of the development process. Why bother especially if you are pressed for time? A common response by practitioners who write on the subject is that you should no more build a database without a model than you should build a house without blueprints. University of Texas at Austin Introduction to Data Modeling Finding the Perfect Fit By Tim McLellan AgileData.org: Data Modeling 101 DataModel.org See all Topics access Labels: General, Relationships, Tables, Tutorials <Doug Klippert@ 3:47 AM
Comments:
Post a Comment
Sunday, January 18, 2009 – Permalink – NormalizationDesigning an efficient databaseHere is an understandable article about how to put together a normalized database. One topic covered is what should be used for a Primary or foreign key. "In general, a key field should have these characteristics: Here are a few of the other topic headings: Understanding Your Data
Also see: Knowledgebase #283878: Description of the database normalization basics 15seconds.com: Introduction to Relational Databases and: Normalization Model See all Topics access <Doug Klippert@ 3:54 AM
Comments:
Post a Comment
Monday, December 29, 2008 – Permalink – Drag DataSimple exchangeTo transfer data from an Access query or table in another Office program, such as Word, there's no need to manually export the data.
It works in the other direction too. Select some Excel data. Switch to Access. While viewing the Tables Objects, Paste the Excel data. It will form a new table. See all Topics access <Doug Klippert@ 3:57 AM
Comments:
Post a Comment
Thursday, December 18, 2008 – Permalink – Source of TablesIdentify a linked Access table's sourceWhen a database contains linked tables, you may need to find the location of the source file. One way is to:
<Doug Klippert@ 3:38 AM
Comments:
Post a Comment
Tuesday, October 28, 2008 – Permalink – Normalization ModelExcel Mock-upNormalization, simplistically, is setting up tables of data so that information is entered only one time. Access is not as malleable as Excel, so for demonstration purposes, spreadsheet entries can be used to show the concept. "This article explains how to use Microsoft Excel to create prototypes of your Access databases and how to make sure your data adheres to a set of rules called normal forms. Normal forms aren't hard to understand, and they're critical to designing useful databases."
Also see: Database Normalization Basics for Developers <Doug Klippert@ 3:44 AM
Comments:
Post a Comment
Monday, July 07, 2008 – Permalink – Hidden TablesDon't peekIf you do not want the ordinary user to see a table in your database, you can hide it in the database windows so that other users cannot select it. Preface the table's name with the four letters 'Usys'. For example, if your table's name is ProprietaryCosts , change it to Usys ProprietaryCosts. This makes your table into a system object which Access does not display. To see this table later, in Tools>Options, on the View tab in the Show section, put a check mark by System objects. If we agree among ourselves not to tell the uninitiated, no one need be the wiser.
<Doug Klippert@ 3:30 AM
Comments:
Post a Comment
Friday, June 20, 2008 – Permalink – Import QueriesAs TablesIf you want to use the results of a query, and you don't need to update the underlying tables, you don't have to import unnecessary data. You can import the query as a new table.
Access processes the queries and saves the results as a table with the same name as the original query. See all Topics access <Doug Klippert@ 6:49 AM
Comments:
Post a Comment
Monday, June 16, 2008 – Permalink – Number EntriesBeyond AutoNumberEmbedding information in a Primary key or ID, can lead to trouble in the future. (If the first three numbers are to represent the warehouse address, what happens if new addresses have four numbers?) Autonumbering can give a false sense of order. There is an initial tendency to try to keep all database records in some order. This violates the sense of a relational database. The records can be sorted or filtered as needed. Still some record numbering scheme may be desired. Allen Browne's Access tips: Numbering Entries in a Report or Form "In relational database theory, the records in a table cannot have any physical order, so record numbers represent faulty thinking. In place of record numbers, Access uses the Primary Key of the table, or the Bookmark of a recordset. If you are accustomed from another database and find it difficult to conceive of life without record numbers, check out What, no record numbers?" See all Topics access Labels: Tables <Doug Klippert@ 6:28 AM
Comments:
Post a Comment
Tuesday, June 10, 2008 – Permalink – Auto LinkOutlook Contacts in AccessAutomatically set up links to data outside of Access. It still works in Access/Outlook '07. Try this:
The changes made in Access will be reflected in Outlook and vice versa. If you want to create a new database that will link to other data that isn't in an Access format, you can do it quickly. The classic way is to use the File>Get External Data >Link Tables method. However you can simply choose File >Open from the menu bar. Select the appropriate data format from the Files Of Type dropdown list (such as Microsoft Excel (*.xls)). Open the file and Access will automatically create an MDB file with the same name as the data source you selected and will set up links to the data. From there you can develop forms, queries and reports. See all Topics access Labels: Relationships, Tables, Tutorials <Doug Klippert@ 7:46 AM
Comments:
Post a Comment
Saturday, June 07, 2008 – Permalink – Good OLAPMore dataFrom Builders.com.com: An introduction to the benefits of online analytical processing (OLAP) "Every day we create reams of data in customer relationship management applications, order entry applications, and warehouse management systems. We're drowning in a sea of data. However, even with all that data we don't have a large amount of information. We have the ones and zeros of the transactions, but we don't have the answers we need to simple questions like: The article also has links to:
<Doug Klippert@ 6:43 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.
<Doug Klippert@ 6:50 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 access <Doug Klippert@ 6:43 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. In the first method, you select one of the fields you want to filter by and click the Filter By Selection button on the toolbar. Access filters the records by that selection. Next, select the second field you want to filter by and click the button again. Access filters the records even further by this second selection. Continue to follow these steps until you have filtered by the desired number of selections. You can also use Filter by Form. Click the icon on the toolbar. In the displayed form, enter the criteria. You can use And/Or statements, such as "Boston" Or "San Francisco". (Access will enter the quote marks for you.) For the third option, you use the Advanced Filter>Sort feature. To do so, select Records>Filter>Advanced Filter>Sort from the menu bar. Access displays a grid similar to the Query By Example grid. Now, drag down all the fields you want to filter by from the field list. Then, in the Criteria cells enter the values you want to filter for. When you have finished, click the Apply Filter button to see the results. Fourth, you could use Filter by input. Right click any entry in a field you want filtered. Enter the value in the Filter For box and hit Enter. You could then choose another field and sort again by another criteria. 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) Florida Gulf Coast University: Sorting and Filtering eHow.com: How to Filter Records in a Microsoft Access Table Microsoft Kb: How to filter records in an Access database See all Topics access <Doug Klippert@ 7:21 AM
Comments:
Post a Comment
Thursday, July 26, 2007 – Permalink – Use a Table Aliasto change names in a queryWhen you need to change the table name referenced in an existing Access query, it can be a pain. This is especially true if the query contains a large number of fields. You typically might use an alias when you need to relate a table to itself or tables have long or unwieldy names. If you make a practice of always using aliases in your queries, you can easily change which table is used by changing the one occurrence of the original table name in the query's FROM clause.
![]() See all Topics access <Doug Klippert@ 7:36 AM
Comments:
Post a Comment
Sunday, July 08, 2007 – Permalink – Auto NumberDon't be smartThere should not be any "intelligence" in an AutoNumber field. It is meant as an index field and not anything else. If the need should arise to reset the field, if your table does NOT contain any records, simply compacting the database again will set the Autonumber field back to 1. Another way would be to delete the AutoNumber field and re-insert it in the table. Here's a long way to start at a specific number.
"This is some sample code that shows how to programmatically reset all AutoNumber fields in an Access Database to a correct value (whether it be 0 or the max value + 1). In addition, it contains code for Compacting and Repairing an MS Access Database. This is perfect for people who are working with a complicated Access Database and have experienced AutoNumber bugs! And: Labels: Tables <Doug Klippert@ 6:29 AM
Comments:
Post a Comment
Sunday, March 04, 2007 – Permalink – Automatically Renumber RecordsBeen looking for thisWhat happens to a list when one record is deleted? If you need to correct the numbering, see these instructions. Automatically renumber the records in an Access table when one is deleted from Martin Green - FontStuff.com See all Topics access Labels: Tables <Doug Klippert@ 7:29 AM
Comments:
Post a Comment
|