Enter your email address:

Delivered by FeedBurner



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












Subscribe here
Add to 

My Yahoo!
This page is powered by Blogger. Isn't yours?

Host your Web site with PureHost!


eXTReMe Tracker
  Web http://www.klippert.com



  Wednesday, April 11, 2018 – Permalink –

Form and Data

Good combo


In 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.
This demo shows you how to create a split form view where you can use the datasheet part of the form to quickly locate a record and the form portion to view or modify the record.

You will also learn how to enhance and customize a split form view to suit your needs."


Demo

Form and data




See all Topics

Labels: , , , , , , ,


<Doug Klippert@ 3:12 AM

Comments: Post a Comment


  Saturday, March 10, 2018 – Permalink –

Quick Subforms and Subreorts

Drag 'em on over


When 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: , , , , , , ,


<Doug Klippert@ 3:32 AM

Comments: Post a Comment


  Saturday, March 03, 2018 – Permalink –

Email Access Form

Question and collection


Access 2007-10 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.

The form is sent through Microsoft Office Outlook 2007-10 to your recipients, with your request for new or updated information.

When the recipients reply to your message, Access automatically enters their data into your database.


Collect data by using e-mail


See all Topics

Labels: , , , , , , ,


<Doug Klippert@ 3:41 AM

Comments: Post a Comment


  Thursday, February 01, 2018 – Permalink –

Resize Form

It's fitting


When you switch between Design and Form views, the size of the form is dictated by the size of the Design view window, not the size of the form sections.

You often need to expand the window to be able to see the rulers and scroll bars in addition to all of the sections. This means you're left with wasted space when viewing the form in Form view, assuming that you forget to shrink the window back down.

A solution to this annoyance is to use the Size To Fit Form feature.

Simply view the form in Form view and choose Window>Size To Fit Form from the menu bar. If your view of the form is maximized, the menu option will be unavailable and you'll need to click the Restore Window button on the form window to enable the choice.

Once Access has resized the form, you can save its current dimensions by clicking the Save button.

With Access 2007+ go to the Office button, choose Access Options and click Overlapping Windows. The Size To Fit Form icon will appear on the Home tab.




See all Topics

Labels: , , , , , ,


<Doug Klippert@ 3:01 AM

Comments: Post a Comment


  Thursday, November 23, 2017 – Permalink –

Zoom Box Fonts

Customize



Change the appearance of text in Access' Zoom box

Access' Zoom box, allows you to display the contents of a text box in a dialog box for easier editing and viewing. Although viewing long expressions is more convenient in the Zoom box, it is still sometimes difficult to follow what is displayed due to the font Access uses by default.

Access 20xx allows you to change the font that the Zoom box uses. To display the Zoom box, select the text box you want to expand and press Shift+F2. Then, just click the Font button, set the options you want, and click OK. The settings you select are used whenever you display the Zoom box during your current instance of Access. However, the next time you start Access the Zoom box font settings will revert to their defaults



Zoom Box Font


See all Topics

Labels: , , , , ,


<Doug Klippert@ 3:36 AM

Comments: Post a Comment


  Wednesday, April 19, 2017 – Permalink –

View Related Fields

The whole thing


When designing a query, you'll often find the need to temporarily view fields beyond the ones you want shown in the final result.

To do so, you probably drag the relevant fields to the design grid and then delete them when you're done. However, there's an easier way to view the data that you typically want excluded in the query.

To do so:
  1. Open the query in Design view.
  2. Display the query's Properties sheet
  3. Set the Output All Fields property setting to Yes
  4. Run the query
Data from all of the underlying tables' fields will be displayed in addition to the fields you specified in the QBE grid. To change the query so that it only displays the fields explicitly selected in the QBE grid, simply
reset the Output All Fields property to No.


 


See all Topics

Labels: , , , , ,


<Doug Klippert@ 3:04 AM

Comments: Post a Comment


  Wednesday, April 12, 2017 – Permalink –

Progress bar on Forms

Show movement


You can display computer time by using the Microsoft Progress Bar Control. In earlier versions of Access, it can be found by using the "More Controls icon in the Toolbox. In Access 2007 it's under "Insert Active X Control".



Here are the instructions from FunctionX.com:
Progress Clock


See all Topics

Labels: , , , , , ,


<Doug Klippert@ 3:07 AM

Comments: Post a Comment


  Saturday, March 25, 2017 – Permalink –

Animated Forms

Add action

"Publishing your Access forms on the Web? Add some fun with animated images! For example, say you want to publish a form that allows your users to enter a keyword that will search your software catalog for winter specials; to illustrate this, you’ve embedded an image of two boys hitting the a puck with their hockey sticks."

TechRepublic.com


See all Topics

Labels: , , , ,


<Doug Klippert@ 3:10 AM

Comments: Post a Comment


  Wednesday, August 31, 2016 – Permalink –

Close Forms

Auto Shutdown

Here's how to close a form after it’s used:

  1. Open the first form in Design view.
  2. Double-click the Form Properties button.
  3. Click on the Event tab.
  4. Click in the On Deactivate text box.
  5. Select Event Procedure.
  6. Click the Build button.
  7. At the prompt, enter: Me.TimerInterval =1.
    (Try something like 30000 milliseconds)
  8. Press [Alt][Q].
  9. In the Form Properties window, click in the On Timer property text box.
  10. Select Event Procedure.
  11. Click the Build button.
  12. At the prompt, enter: DoCmd.Close.
  13. Press [Alt][Q].
  14. Save the form.

Microsoft Support


See all Topics

Labels: , , , , , ,


<Doug Klippert@ 3:06 AM

Comments: Post a Comment


  Sunday, May 15, 2016 – Permalink –

Parameters v Forms

You have a choice



There are a couple of ways to limit the data that is displayed in a Query or in a report.
One is a Parameter Query
  1. Create a query to use as the RecordSource of your report.
  2. In query design view, in the Criteria row under your date field, enter:

    Between [StartDate] And [EndDate]
The other is to create a specific form. The unbound form has the following advantages:
  • Flexible: user does not have to limit report to from and to dates.
  • Better interface: allows defaults and other mechanisms for choosing dates.
  • Validation: can verify the date entries.
Allen Browne has supplied a clear explanation along with some typical code.

Also see FontStuff.com:
Using Parameter Queries


See all Topics

Labels: , , , , , ,


<Doug Klippert@ 3:12 AM

Comments: Post a Comment


  Tuesday, April 12, 2016 – Permalink –

Auto Form

Just add Data


Highlight a Table in the Objects Table view.

Go to the main menu bar and click on Insert.

Towards the bottom of the menu, you'll find an entry for
"AutoForm"

Click on it and Access will create a data entry form based on the selected table.

When you close the AutoForm, you will be asked if you want to save changes.
Click Yes.

(In 2007+ go to Create>Form)

The default name will be the name of the table. If you are using Hungarian notation, change the name from

"tblCustomers" to "frmCustomers"

and click OK.


Also see:
Hungarian Notation


See all Topics

Labels: , , , , ,


<Doug Klippert@ 3:00 AM

Comments: Post a Comment


  Wednesday, January 06, 2016 – Permalink –

Toggle Object Views

Use the keyboard


When you are putting a database together you often want to switch between views of Access objects to see the changes.

For instance, you'll switch the view to examine a Table in Design view and then back to data view. It is can be faster to switch between views using keyboard shortcuts, rather than the View menu.

You can cycle through the views of an open object using the period

Ctrl + .

or comma

Ctrl + ,

shortcut keys.
These shortcuts can be used with tables, queries, forms, reports, and data access pages.


See all Topics

Labels: , , , , , , ,


<Doug Klippert@ 3:42 AM

Comments: Post a Comment


  Tuesday, December 29, 2015 – Permalink –

New Default Access Form Template

Set new standards



You can change Access's default form.

To set up a custom template,
  1. Create your template form by specifying all the properties you want to maintain from form to form.
  2. Then, save the form using any name.
  3. Next, select Tools>Options from the menu bar and select the Forms/Reports tab.
  4. Enter your template's name in the Form Template box to replace the Access default (Normal) and click OK.
The next time you create a form, Access will base it on your form template rather than the typical Normal template.

In Access 2007-10, click the Office button in the upper left corner and the click Access Options.
The design options are located under Object Designers: Forms/Reports.
The same thing can be done with Reports.

 

 (The settings are saved in the Access workgroup information file, not in a particular data base)

Also: MeadinKent.co.uk: Making a report template


See all Topics

Labels: , , , ,


<Doug Klippert@ 3:54 AM

Comments: Post a Comment


  Tuesday, December 22, 2015 – Permalink –

Change Properties in Form View

Alterations on the run


As you work with a form, you will, sometimes, find controls would benefit from minor tweaking. You may want to change the color of a text box, change the font that's used, or remove scroll bars.

You may have been told switch to Design view to make changes. However, you can display the property sheets for a control while you're in Form view.

To do so, click the Properties on the View menu, Right-click, or press [Alt][Enter].
As in Design view, the displayed properties relate to the control that is selected on the form. The property changes you make are reflected on the fly.
You will be prompted to resave your form when you close it.


See all Topics

Labels: , , , , , , ,


<Doug Klippert@ 3:28 AM

Comments: Post a Comment


  Saturday, November 14, 2015 – Permalink –

Sort Forms

Create a sorting function

Here is one way to provide your users with a means to reorder fields in forms.

"Chris Weber develops a solution that allows users to sort the data in their forms (or subforms) that you can add to your application easily.

  • The sorting interface should be generic to any form in any database.

  • It should also work with subforms.

  • It needs to be implemented as expediently as possible to fulfill the bid, and be easily maintained in the future.

  • It should be intuitive or reminiscent of other interfaces in Access and Windows.
Let Your Users Sort it Out



Scroll down to the bottom of the page. There is a file that can be downloaded with the code.


See all Topics

Labels: , , , , ,


<Doug Klippert@ 3:57 AM

Comments: Post a Comment


  Monday, July 20, 2015 – Permalink –

Highlight Form Data

Show your position


Conditional formatting, in Access, has one more alternative than Excel. Besides "Field Value Is" and "Expression Is", there is "Field Has Focus". You can call attention to the location of the insertion point.
  1. In Design View, in the Detail section, click the Control box.
  2. On the Format menu, click Conditional Formatting.
  3. Under Condition 1, chooseField Has Focus in the first box.
  4. Click the arrow next to the Font/Fore Color button, click the yellow box, and then click OK.



  5. On the File menu, click Save.
  6. On the View menu, click Datasheet View to view the results.
Also see: Using the Value in a Control as Formatting Criteria and Using an Expression as Formatting Criteria Microsoft Office Online: Highlighting data for impact on a form in Access


See all Topics

Labels: , , ,


<Doug Klippert@ 3:53 AM

Comments: Post a Comment


  Tuesday, July 07, 2015 – Permalink –

Switchboard Inflation

Have more controls



You cannot have more than 8 items on a switchboard when you use the Access Switchboard Manager on the Tools>Database Utilities menu. You can, however, modify the Switchboard objects directly.



Here are some step by step instructions:
TECH on the Net:
Create more than 8 switchboard items

Here are some more Switchboard tips:
TECHontheNet


Switchboard 2007

More Switchboard


See all Topics

Labels: , , , , , ,


<Doug Klippert@ 3:11 AM

Comments: Post a Comment


  Thursday, June 18, 2015 – Permalink –

Pictures in Forms

It can still be done


Photo Editor was an Office component prior to Office 2003.
In Access/Office 2003/2007 MS Photo Editor was replaced, and Office no longer includes an OLE server for images.

To work around this issue, reinstall Photo Editor.
To do this, follow these steps:

  1. Insert the Microsoft Office XP CD-ROM into your computer's CD-ROM or DVD-ROM drive.
  2. If the Office XP Setup program does not start automatically, follow these steps:

    1. Click Start, and then click Run.
    2. In the Open box, type drive:\Setup.exe, where drive is the letter of your CD-ROM or DVD-ROM drive.
  3. Start to step through the Setup process, and then select Customize for the type of Setup to perform.
  4. When you reach the Selecting Features step, set each node of the Setup tree to Not Available.
  5. Under Features to install, expand Office Tools.
  6. Click Microsoft Photo Editor, and then click Run from My Computer.
  7. Click Install Now.
  8. Click OK when Office XP Setup has completed successfully.
Microsoft Support Article: 817095


Also:
Ammara.com:
Pictures in Access Forms & Reports
OLE Object Photo & Image Problems & Solutions





Access MVPS.org: Handle/Display images in forms/database
"While it's possible to actually store the images within the database itself as OLE objects, normally it's not the preferred way. When you embed an OLE object in a table, you're storing a lot of overhead as well. This overhead is the information about the object (such as its parent application) that Access needs to store in order to render the object properly."
Displaying photos in a form


See all Topics

Labels: , , , ,


<Doug Klippert@ 3:19 AM

Comments: Post a Comment


  Sunday, June 14, 2015 – Permalink –

Dynamic Formatting of Forms

GetFocus, Resize, Color Data


Here is a description about how to perform three different actions on forms to respond to data entries or changes in events.

MSDN.Microsoft.com:
Eventful Formatting for Access Forms
By Rick Dobson - SmartAccess magazine

Formatting with GotFocus and LostFocus events
One of the most visually dramatic changes that you can make to a form involves changing the image that tiles across the background of a form.
Formatting with the Resize event
Since the inception of Access, form designers have been plagued by the ability of users to change the size and shape of a form. This is because controls on a form maintain their size and anchor their position to the form's top and left borders even while a form changes its size, shape, or both. Whenever a user changes the size or shape of a form, the form's Resize event fires.
Formatting Data
"It's typical for designers to need to dynamically alter formatting to reflect the value in a textbox or other controls. Here's an example of why it's important to understand how the Access events work. With the Current event:
  • You can change the formatting whenever the user moves to a new record in the record source for a form.
  • You can change formatting when a form initially loads data for display.
  • However, the Current event doesn't fire when a user changes a value on the current row, so you can't use this event to respond to user input.
To respond to user-entered data, you can use the AfterUpdate event for a control to change the formatting for the value in a control after updating. While the Current event applies to a form overall, you can create an AfterUpdate event procedure for a whole form or a specific control on a form."
Look for a demo file called "502DOBSON.ZIP" (The image file in the code resides in the articles folder of the c:\ path. You'll probably need to update the path for the image files on your computer.)

Also see: Access MVPS.org:  
Colors and Continuous forms  
Changing the Background Color of the Current Record



See all Topics

Labels: , , , ,


<Doug Klippert@ 3:21 AM

Comments: Post a Comment


  Thursday, March 19, 2015 – Permalink –

Samples Queries, Reports, Forms

Examples to part out




This 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

Database of Access 2000 sample forms
The sample forms in this database demonstrate a variety of form types and techniques, including how to manipulate data, use controls, and create undo and redo operations.

Some forms include:
  • Bring a subtotal from a subform to a main form
  • Create a running sum
  • Create a stopwatch form
  • Display line numbers on subform records
  • Fill current record with data from previous record automatically
  • Hide the combo box drop-down arrow
  • Simulate drag-and-drop capabilities
Database of Access 2000 sample reports
The sample reports in this database demonstrate a number of techniques, including how to shade every other row or every nth row in a report, how to create a table of contents or an index for a report, and how to create a top 10 report.



See all Topics

Labels: , , , , , , ,


<Doug Klippert@ 3:50 AM

Comments: Post a Comment