Where Condition for multi criteria reprt

donsi

Registered User.
Local time
Today, 09:43
Joined
Sep 1, 2016
Messages
73
Hello,

Trying to figure this out for last few hours. I am new and self taught DB. Here is the problem. DB is for Issue/Return items. Sometimes items are checkout on day1 and cheked in on day2. When an item is issued, it generates and unique Tras No, which shows as pending in a separate form until returned. To make this happen i needed to created two fields, IssDate and RtnDate. Report is based on the query and want to filter it by the dates for which I have a form. When I use,

[IssDate] Between [Forms]![NavigationForm]![NavigationSubform]![TxtGDFrom] And [Forms]![NavigationForm]![NavigationSubform]![TxtGDTo]

It gives me only with issued item and ignore items returned (all items).
attachment.php


if i use

([IssGamingDate] Between [Forms]![NavigationForm]![NavigationSubform]![TxtGDFrom] And [Forms]![NavigationForm]![NavigationSubform]![TxtGDTo]) And [RtnGamingDate]Between [Forms]![NavigationForm]![NavigationSubform]![TxtGDFrom] And [Forms]![NavigationForm]![NavigationSubform]![TxtGDTo]

it gives me blank report.

The way I would like to display report is as below
attachment.php
 

Attachments

  • Rptdate1.PNG
    Rptdate1.PNG
    13.4 KB · Views: 210
  • Rptdate2.PNG
    Rptdate2.PNG
    6.3 KB · Views: 200
Try Or rather than And between the two criteria.
 

Users who are viewing this thread

Back
Top Bottom