Results 1 to 4 of 4
  1. #1
    Daniel2000 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Posts
    34

    vehicle fuel consuption access database


    have designed a small access database to monitor fuel consuption. each time we issue a fuel voucher, we record vehicle number plus mileage (meter reading) at start and end and database automatically calculates no of km.

    as of now, users have to enter the meter reading at start and meter reading at end manually using a form.

    what i want is when i choose the car number from my form, then meter reading at start should capture the last meter reading at end (prior to today's entry date) as the default meter reading at start. this will be a locked properties and users will not have input access.

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Perhaps you can use an Aggregate (Totals) query to return the latest record.

  3. #3
    drunkenneo is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    199
    By looking to your problem it seems there is a record combination of vehicle number and meter reading, from there you need to extract the data by using function from taking top reading from order by date.

    However if the database is shown then i would be able to help all the problems you have.

  4. #4
    Daniel2000 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Posts
    34
    hi drunkenneo.

    Database attached.

    Database1.zip

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

Similar Threads

  1. Vehicle Mileage Database
    By Mtyetti2 in forum Access
    Replies: 6
    Last Post: 10-07-2013, 01:50 PM
  2. fuel consuption database
    By Daniel2000 in forum Programming
    Replies: 6
    Last Post: 08-16-2013, 01:27 AM
  3. Vehicle Mileage
    By Mtyetti2 in forum Forms
    Replies: 5
    Last Post: 02-16-2013, 08:23 AM
  4. Vehicle work order database design
    By bacanter01 in forum Database Design
    Replies: 4
    Last Post: 03-22-2012, 07:58 PM
  5. Need help with database to display vehicle information
    By jlmnjem in forum Database Design
    Replies: 1
    Last Post: 07-25-2006, 08:48 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