Results 1 to 4 of 4
  1. #1
    jordancemery65 is offline Advanced Beginner
    Windows Vista Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    30

    I have two addresses, a MailingAddress and PhysicalAddress and a checkbox hmmm.

    I have a MailingAddress City State and Zipcode Then I have a PhysicalAddress PhysicalAddress PhysicalCity PhysicalState and PhysicalZipcode Then I have a checkbox AddressesAreSame I was wondering how I could get the addresses to equal eachother when the checkbox is checked???? Could someone please help?

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    If you have this on a form you would need some code in the After Update event of the checkbox control to fill the control which has no data.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    jordancemery65 is offline Advanced Beginner
    Windows Vista Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    30
    I found this somewhere else... but i have no idea where to use it!!!!!!!!

    = Private Sub [AddressesAreSame]()
    If [AddressesAreSame] Then
    [PhysicalAddress] = [MailingAddress]
    [PhysicalCity] = [City]
    [PhysicalState] = [State]
    [PhysicalZipcode] = [Zipcode]


    Else
    [MailingAddress] = ""
    [City] = ""
    [State] = ""
    [Zipcode] = ""


    End If
    End Sub

  4. #4
    jordancemery65 is offline Advanced Beginner
    Windows Vista Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    30
    HEY I DID IT!!!! WOOT WOOT! It works!! Thank you guys so much!!!!

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

Similar Threads

  1. Unmatched Addresses Query
    By #1Newbie in forum Queries
    Replies: 3
    Last Post: 06-03-2013, 06:54 AM
  2. Replies: 2
    Last Post: 07-20-2012, 07:21 PM
  3. Finding email addresses using VBA
    By P.Malius in forum Programming
    Replies: 1
    Last Post: 07-04-2012, 07:17 AM
  4. matching similar addresses
    By TheShabz in forum Access
    Replies: 5
    Last Post: 10-05-2010, 10:38 AM
  5. Combining two Email Addresses
    By Frodo in forum Access
    Replies: 0
    Last Post: 09-16-2007, 07:07 AM

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