Flag This Hub

Microsoft Access Free Consultant Tips 1

By


MS Access

Consultant Tips For MS Access
Consultant Tips For MS Access

Free Microsoft Access Tip

Programming with Microsoft Access can be easy, if you know what you are doing.  This site is dedicated to provide free Microsoft Access consultant tips


There are plenty of professional programs that allow for 2 key verification.  Which means you enter data twice and then the program verifies that the two data field match.  Microsoft Access Database is not set (pre-formatted) to do this feature, but the below instruction will show you how you can achieve the same goal.

MS Access Software

Microsoft Access 2010
Amazon Price: $115.99
List Price: $139.99
Access 2010: The Missing Manual
Amazon Price: $21.49
List Price: $39.99
Microsoft Access 2010 (2 PC / 1 User) [Download]
Amazon Price: $116.99
List Price: $139.99
Access 2010: The Missing Manual
Amazon Price: $27.99

Microsoft Access

Working With Data In MS Access
Working With Data In MS Access

Microsoft Software

Microsoft Office Home & Business 2010 Product Key Card- 1PC/1User [Download]
Amazon Price: $154.71
List Price: $199.99
Microsoft Office Home & Student 2010 - 3PC/1User (Disc Version)
Amazon Price: $105.00
List Price: $149.99
Microsoft Office Home & Business 2010 - 1 User-2 PC [Download]
Amazon Price: $219.99
List Price: $279.99
Microsoft Streets & Trips 2011
Amazon Price: $19.99
List Price: $39.95

How To Set Up a 2 Key Verification In Microsoft Access

I first create two tables with the same field name.  Table 1 - DD1, Table 2 - DD2.  Please view the example below:


Table DD1


Field Name, Data Type

KeyID, autonumber

F1, text

F2, text


Table DD2


Field Name, Data Type

KeyID, Number

F1, Text

F2, Text


Use the Relationship feature and connect the KeyID from table DD1 to KeyID from table DD2.


Now you can create two forms.  I'm using the same name as the tables listed above, DD1 and DD2.


Form DD1 doesn't need to be changed at all.  However, to achieve the 2 key verification form DD2 has some modifications.


Before modifying form DD2 you will need to create a macro for each field you will like the 2 key verification to apply to.  Using the F1 field as an example, create a macro with the following:


Condition, Action

[Forms]![DD1]![F1]<>[Forms]![DD2]![F1], msgbox.


The above condition and action said, "if DD1 field F1 and DD2 field F1 doesn't match bring up a msgbox.  In the message box I wrote "Fields Don't Match" and turned on the Beep.


Now, go back to the form DD2.  In the properties screen of the F1 field go to "On Lost Focus" and select the macro you have just created.  You will also need to open the DD1 form when keying (data entry) for this process to work.


I created a macro to open the DD1 form when I open the DD2 form.

Free Microsoft Access Help

Stay tuned for more Microsoft Access Free Consultant Tips.  If you have a question you can visit YSDATA.com and send an email.

Comments

No comments yet.

Submit a Comment
Members and Guests

Sign in or sign up and post using a hubpages account.



    Like this Hub?
    Please wait working