Results 1 to 3 of 3
  1. #1
    316854 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Mar 2013
    Posts
    44

    Log of destinations

    I need to make a form and a query out of the sample data provided below.



    In reality, there will be hundreds or thousands of customer identification codes and corresponding pieces of data.

    TEMPLATE.
    Customer identification code.
    Surname.
    Physical address.
    GPS coordinates.

    evfhvekeu
    Smith
    1234 N Main Ave Los Angeles CA 90001-1234
    34.043019, -118.267256

    evfhvekeu
    Smith
    2468 E Skyline Blvd Honolulu HI 96801-2468
    21.289790, -157.835905

    dqvzdaeee
    Smith
    9876 S Stone St Kansas City MO 64081-9876
    39.097284, -94.579951

    syxpffszj
    Johnson
    9876 S Stone St Kansas City MO 64081-9876
    39.097284, -94.579951

    ndmpmsqhk
    Williams
    3579 W River Ln New York NY 10001-3579
    40.750515, -73.993456

    I need the fields to include the following in this order:

    Date (e.g. May 29, 2015).

    Day (e.g. Monday, Tuesday…). This needs to be a calculated field (I want access to fill this in for me).

    Order (e.g. 1, 2, 3…).

    Surname (e.g. Smith).

    Customer identification code (e.g. evfhvekeu). After I enter the surname and I tab to the next field, the field for customer identification code, I want access to provide me with a combo box of the customer identification codes that match the surname.

    Physical address (e.g. 1234 N Main Ave Los Angeles CA 90001-1234). After I enter the customer identification code and I tab to the next field, the field for physical address, I want access to provide me with a combo box of the physical addresses that match the customer identification code.

    GPS coordinates (e.g. 34.043019, -118.267256). I want access to fill this in for me from data I put in in another location in the database.


    Thanks

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Build a table to store this data.
    click the form wizard, tell it to make the form.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    What is data structure? What tables do you have and what fields?

    CustomerID
    Surname
    Address
    City
    State
    Zip
    Latitude
    Longitude
    OrderNum
    OrderDate

    The comboboxes you describe are called dependent or cascading. Review: http://www.datapigtechnologies.com/f...combobox2.html

    Why do you need the Lat Long on form?

    Build a report that joins tables so related info can be displayed.
    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.

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

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