Results 1 to 3 of 3
  1. #1
    WookiesAccess is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    2

    Use check box to copy postal address from business address fields in the form.

    Hi guys,



    Fairly new to Access 2010 and finding it a little difficult to fix this problem. I have a table which I record business contact details and instead of retyping the postal address I added a check box titled "Postal Address same as Business Address?".
    What I was trying to achieve is have the postal fields populate with the current business address data if the check box is ticked.
    I know what I want it to do but not sure how to do it.

    Any suggestions?

    Cheers and thanks!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You would put code in the Click Event of the Checkbox.
    Me.Addy2 = Me.Add1
    Me.City2 = Me.City1
    ...etc.

    You could also do basically the same thing in the AfterUpdate event of each of the Add1 controls. Then no Checkbox needed. If the mailing addy is different then just overwrite the values. Just a thought.

  3. #3
    WookiesAccess is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    2
    Thanks RuralGuy, much appreciated

    I thought there would have to be a simple approach to this! I'll give it a try tonight...hopefully I'll be able to that part of it working right!


    Cheers

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Database Design - Physical / Postal Address Issue
    By PeterPeterson in forum Access
    Replies: 3
    Last Post: 09-27-2012, 06:27 AM
  2. tblAddresses OR address fields in tblCustomers
    By 123seven in forum Database Design
    Replies: 3
    Last Post: 04-09-2011, 05:34 PM
  3. Custom Fields from OUtlook Address book
    By Mikeydee135 in forum Import/Export Data
    Replies: 0
    Last Post: 03-22-2011, 07:46 AM
  4. Replies: 1
    Last Post: 10-07-2009, 08:15 AM
  5. Input Mask for an IP Address and Mack Address
    By baksg1995 in forum Access
    Replies: 18
    Last Post: 06-23-2009, 12:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums