Results 1 to 2 of 2
  1. #1
    Borgarn is offline Novice
    Windows 10 Access 2016
    Join Date
    Apr 2016
    Posts
    1

    Duplicate value


    Hey.

    I'm sort of new to this.

    1.
    I am making a logbook and in that one I have Two feilds one called "Departure place" and one "Arrival Place".
    For now all the Departure and arrival places are the same, but maybe not in the future. How can I do so the Arrival copies the info from Departure?

    2.
    I also want the Departure place copied from the last entry in the row before from.


    Best Regards Borgarn

  2. #2
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Set the row source for the textbox for Departure to a query or sql statement that gets the Departure value WHERE the ID is Max of the ID field (I presume you have an autonumber field at least, as a unique row identifier). Also, in the property sheet, make default value for textbox for Arrival = Departure.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. SUm duplicate values then delete duplicate rows
    By DonKaponne in forum Queries
    Replies: 1
    Last Post: 09-14-2014, 04:18 PM
  2. Replies: 3
    Last Post: 03-01-2013, 12:41 PM
  3. Replies: 5
    Last Post: 01-29-2013, 03:38 PM
  4. Duplicate a row
    By thestappa in forum Programming
    Replies: 3
    Last Post: 06-01-2010, 02:37 PM
  5. Duplicate first row
    By kruai in forum Access
    Replies: 1
    Last Post: 06-22-2009, 02:06 PM

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