Page 4 of 4 FirstFirst 1234
Results 46 to 48 of 48
  1. #46
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    At the end of the SetListRS routine, add this line: Debug.Print Me!InspList.Rowsource. Then see what is displayed, it may be a date format issue.

  2. #47
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481
    Click image for larger version. 

Name:	Screen Shot.jpeg 
Views:	9 
Size:	82.9 KB 
ID:	29366


    See this my screen of same database but this date did not work?

  3. #48
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Code:
    Private Sub TxtPDate_AfterUpdate()
    
        Debug.Print Me!TxtPDate
        
        Call SetListRS
        
    End Sub
    The value will be displayed in the Immediate window below the code. If it isn't displayed clicked on View>Immediate Window.

    This line will also work:
    Code:
                ListRS = ListRS & " WHERE TblQualityInspection.FGID = " & Me!TxtProduct & " AND Format(PDate,'yyyymmdd') = '" & Format(Me!TxtPDate, "yyyymmdd") & "'"

Page 4 of 4 FirstFirst 1234
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 10-13-2016, 12:32 PM
  2. Replies: 14
    Last Post: 06-13-2014, 04:29 AM
  3. Replies: 1
    Last Post: 04-08-2013, 11:58 AM
  4. Replies: 2
    Last Post: 08-11-2011, 10:02 AM
  5. Replies: 5
    Last Post: 08-13-2010, 07:26 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