Results 1 to 11 of 11
  1. #1
    shendy20007 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    6

    report Duplicate date many time pls help

    i try to make report to explains date out & date in for the equipment when i try it gave to me wrong & Duplicate the date


    D IN hour in D OUT hour out CUSTOMER







    17/03/2006 6838 10/10/2006 7432 شرم الشيخ
    17/03/2006 6838 17/03/2007 8444 شركة بيبسى
    17/03/2006 6838 29/09/2010 16686 يونيون اير
    17/03/2006 6838 24/08/2010 16671 شركة 21 لأنتاج الألمونيوم
    17/03/2006 6838 12/06/2010 16134 شركة البابطين
    17/03/2006 6838 28/06/2008 12820 المقاولون العرب
    17/03/2006 6838 07/10/2007 11843 المقاولون العرب
    17/03/2006 6838 11/09/2007 11618 م/رانيا جعفر
    17/03/2006 6838 10/05/2006 6838
    17/03/2006 6838 08/03/2007 8391 شركة سيجما للأدوية
    17/03/2006 6838 02/03/2006 6668
    17/03/2006 6838 17/05/2006 6886 سركة جيوم للبترول
    17/03/2006 6838 20/06/2006 6839 القطامية
    17/03/2006 6838 29/07/2006 7094 يونيون اير
    17/03/2006 6838 31/08/2006 7420 فيلا بطرس غالى
    17/03/2006 6838 04/12/2006 7517 ماسترجاز
    17/05/2006 6886 17/03/2007 8444 شركة بيبسى
    Attached Thumbnails Attached Thumbnails untitled.PNG  

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    Can you give us more information. What does the first table represent? what does the picture represent. There appears to be no duplicates listed here. Are you using a query as your recordset for your report. You have not given us enough information to help.

  3. #3
    shendy20007 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    6
    sorry my friend i have 3 tbl
    1 for equipment cod & its specifications (tbl1)
    2 for date out and count for hour out (tbl2)
    3 for date in and count for hour in (tbl3)
    and i try to make a report by using a query but it give me the seem result
    and try to make by report wizard also seem result
    i want to make a 2 reports
    1 give me the date out, hour out and customer from tbl 2 and date in hour in from tbl3 and equipment cod from tbl1
    this report for all equipment
    2 report give me the seem information but for 1 equipment it ask me for the cod
    thanks for your help Click image for larger version. 

Name:	relash.PNG 
Views:	4 
Size:	18.3 KB 
ID:	9632

  4. #4
    shendy20007 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    6
    pls help me

  5. #5
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    Since you have chosen to explain your issue in English but show your tables in both English and Arabic, it is difficult to understand the relationships. Please show your tables with English translations. Additionally, if you have prepared a query, please show us your SQL statement (again in English) that relates to the tables so we can better understand what you have created and how to present what you need.

  6. #6
    shendy20007 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    6
    i try to help you as i can thanks for your kindly
    Attached Thumbnails Attached Thumbnails relash1.PNG  

  7. #7
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    I believe that your structure of your database is your primary issue. I think you should read this white paper before you go much further in data base development so that you don't experience this issue in the future.

    http://www.deeptraining.com/litwin/d...aseDesign.aspx

    Now, I have taken your information from your thread and created a db that if I wanted the data you ask for would use. Look at the structure. I am not suggesting you use this, but use the concept to understand how to achieve what you are trying to do.
    Attached Files Attached Files

  8. #8
    shendy20007 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    6
    dear sir thank you for your help .but i would tell u i try this solution but the issue is i know the date out of equipment but i don't know when it come back .that is mean i have 2 table one for date out and other for date in .i will send to u my suggestion

    Click image for larger version. 

Name:	new1.png 
Views:	3 
Size:	187.1 KB 
ID:	9729

    but the query not work with this relationship . and i attach the file to see where the problem
    thank you for your help
    Database7.zip

  9. #9
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    You should only have one table for the movement of the equipment. Your db is not normalized when you have repeating data in two tables. Did you read the white paper on the fundamentals of relational databases? If you only have one table then you can see at any time what equipment has been sent out and not come back by filtering on the date return field with the criteria "Is Null"

  10. #10
    shendy20007 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    6
    how can i return to the record of the equipment to enter the date in by simple steps

  11. #11
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    1. You could create a lookup on your form to search for the record by customer
    2. You could filter your form to return all records for a particular customer.
    3. You could search for the record on your form by equipment number.
    4. You could have a query that returns all items that have been delivered and not returned.

    You have many options. Have you studied any tutorials or purchased a book to guide you on databases?

    If you have unique identifiers for the equipment or the customer, you could use them to filter your forms. Either way would work, but I would prefer the equipment ID as that would be more beneficial.

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

Similar Threads

  1. Export Report to Excel without Date() and Time()
    By agent- in forum Import/Export Data
    Replies: 5
    Last Post: 12-21-2011, 08:55 AM
  2. Replies: 12
    Last Post: 02-22-2011, 03:39 PM
  3. Replies: 6
    Last Post: 01-04-2011, 05:43 PM
  4. Replies: 4
    Last Post: 12-13-2010, 05:33 PM
  5. Duplicate Check code with Run-Time error '3079'
    By viper in forum Programming
    Replies: 5
    Last Post: 10-18-2010, 10:12 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