Results 1 to 5 of 5
  1. #1
    khayward is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Apr 2017
    Location
    Oregon
    Posts
    89

    "Same as Billing address" option

    I've run a search and not found this issue, which was a surprise. I have a main form, Customers, and subforms Billing and Shipping for addresses. I'd like to have a control on the Shipping subform that is a "Same as Billing address" so the user doesn't have to type the same data twice. What would be the cleanest approach to this? I thought about running an append query but thought I should ask here first.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Where would you append to - an addresses table where billing and shipping addresses are separate records? Yes, an append query sounds reasonable.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    a field (y/n): SameAsBilling
    a query can pull the Ship data as Bill data

  4. #4
    khayward is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Apr 2017
    Location
    Oregon
    Posts
    89
    Quote Originally Posted by June7 View Post
    an addresses table where billing and shipping addresses are separate records?
    I have a table for shipping addresses and one for billing addresses. I've seen that there are other ways to skin this cat also, the two tables seemed appropriate at the time. The address provided for billing would be what is written to the table for shipping addresses.

    After reading the two responses so far it sounds like a command that runs an append query may be a fairly straightforward option.

  5. #5
    khayward is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Apr 2017
    Location
    Oregon
    Posts
    89
    Quote Originally Posted by ranman256 View Post
    a field (y/n): SameAsBilling
    a query can pull the Ship data as Bill data
    So, would your suggestion be along the lines of an append query with an IIF statement concerning the yes/no control?

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

Similar Threads

  1. Replies: 1
    Last Post: 02-28-2017, 12:29 PM
  2. Replies: 2
    Last Post: 04-12-2016, 12:58 PM
  3. Replies: 4
    Last Post: 04-03-2015, 05:53 PM
  4. Check box - "Same as billing address"
    By brettnolan in forum Access
    Replies: 2
    Last Post: 04-24-2014, 08:46 PM
  5. Replies: 1
    Last Post: 12-10-2013, 12:59 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