Convert your Access 2007 app from design to runtime mode
Thursday, March 27, 2008 11:51 AM
With Access runtime mode, users get access only to objects administrators make available to them in the Startup form.
Microsoft Access
Convert your Access 2007 application from design to runtime mode by changing its extension
When you’re ready to move your Access application from development to production, you need to ensure that it runs in Access runtime mode when opened.
Access runtime mode prevents users from modifying or deleting objects from the application; users have access only to the objects you make available to them in the Startup form.
After specifying your Startup, you simply need to change the Access 2007 database filename extension to put it in runtime mode.
For example, to put the Employee.accdb database in runtime mode, follow these steps:
- Open the Employee.accdb database.
- Click the Office button.
- Click the Access Options button.
- Click Current Database on the left side of the window.
- Under Application Options, click the drop-down arrow of the Display Form text box.
- Select the name of the form you want to be your Startup form for your application, then click OK.
- Click the Office button.
- Click Close Database.
- Use Windows Explorer to navigate to the Employee.accdb icon.
- Right-click the icon and select Rename.
- Type Employee.accdr and then press Enter.
This creates a locked-down version of your Access 2007 database.
To open it in runtime mode, you can double-click its icon in Windows Explorer, open it using a shortcut on the desktop, or use the /runtime command-line switch.
To open the file again in Access in design mode, you need to rename it with an .accdb filename extension.
Microsoft Word
Stop fumbling with the mouse and let Word position your tables
You've just created a table at the end of the first page of your Word document, but would like the table to appear in the middle of your page instead.
Your first instinct might be to click and drag the table into position, but no matter how many times you move the mouse to adjust the table's position it never seems quite right--either the table is not exactly where you want it, or the text runs up against the table borders.
If you try reformatting the text on the page, the table moves out of its central position.
Rather than use the mouse, just tell Word to position it for you. Follow these steps:
- Select the table.
- Right-click the table and select Table Properties.
- In the Table tab, under Text Wrapping, click Around.
- Click the Positioning button.
- Under Horizontal, click the drop-down arrow in the Position box and select Center.
- Click the drop-down arrow in the Relative To box and select Page.
- Under Vertical, click the drop-down arrow in the Position box and select Center.
- Click the drop-down arrow in the Relative To box and select Page.
- Under Distance From Surrounding Text, click the up arrow once in the Top text box.
- Click the up arrow once in the Bottom text box.
- If necessary, clear the Move With Text check box, then click OK twice.
Word positions the table exactly in the middle of the page; the table will remain in place even if you later make formatting changes.
Microsoft Excel
Excel 2007’s Remove Duplicates feature finds unique values in data
It is the end of the month and you need to write a quick memo to report on last month's sales.
You have a spreadsheet listing 100 invoices for the month, including the Invoice Number in Column A, the Customer Name in Column B, and the Product Name in Column C.
Because most of your customers place orders several times a month, you need a quick way to generate a listing of each customer that ordered from you last month.
Before Excel 2007, you would obtain this data using either Excel's Advanced Filter or Pivot Table feature. With Excel 2007's new Remove Duplicates feature, you have an additional, even quicker, way to produce this list. Follow these steps:
- Select the Customer Name column.
- Copy the data to a blank section of the worksheet. (You should leave at least one blank column between the original data and the copied data.)
- Click inside any cell within the copied cells.
- Click the Data tab.
- In the Data Tools group, choose Remove Duplicates, then click OK.
Excel removes all duplicate customer names from the copied list. You can also use Remove Duplicates to produce a list of unique values for more than one field. For example, to generate a list of customers and the products they ordered, follow these steps:
- Select the Customer Name and Product Name columns.
- Copy the selected data to a blank area of the worksheet.
- Click inside any cell within the copied cells.
- Click the Data tab.
- In the Data Tools group, choose Remove Duplicates, then click OK.
Excel generates a list of each customer and the products ordered, excluding duplicate orders for the same product from the same customer. You can then use the Sort function to make the list easier to read by following these steps:
- Click any one of the cells in the Remove Duplicates results list.
- Click the Data tab.
- Click the Sort button.
- Click the My Data Has Headers check box.
- Click the Sort By drop-down arrow and select Customer Name, then click OK.


Learn how to achieve better performance and improve your service levels, while driving down IT costs.
Secure the "Next-Gen SOA Infrastructure" & "Bringing SOA Value Patterns to Life" whitepapers here







There are currently no comments for this post.