Report Filter (1 Viewer)

Local time
Today, 03:38
Joined
Nov 23, 2018
Messages
31
i have report based on query in which group is set to supplier name when i run the query grouping is also done on those records in which supplier name field is blank i want to make no group on those records in which supplier name field is blank and also want to skip supplier name in which "return" or " received" pharase is present
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 16:38
Joined
Oct 29, 2018
Messages
21,453
Hi,

Does your query have a criteria to exclude those groups? If not, try adding one.
 
Local time
Today, 03:38
Joined
Nov 23, 2018
Messages
31
how to add criteria in query
when i write "is not null" in query it does not work
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 16:38
Joined
Oct 29, 2018
Messages
21,453
Hi,

Please post the SQL statement for your query, so we can give you a hand.
 
Local time
Today, 03:38
Joined
Nov 23, 2018
Messages
31
SELECT [Inventory Transactions Extended].Inventory.ID, [Inventory Transactions Extended].Inventory.Item, Sum([Inventory Transactions Extended].[Actual Quantity]) AS [Current Stock], [Suppliers Extended].[Supplier Name]
FROM [Inventory Transactions Extended] LEFT JOIN [Suppliers Extended] ON [Inventory Transactions Extended].Supplier = [Suppliers Extended].ID
GROUP BY [Inventory Transactions Extended].Inventory.ID, [Inventory Transactions Extended].Inventory.Item, [Suppliers Extended].[Supplier Name]
HAVING ((([Suppliers Extended].[Supplier Name]) Is Not Null));
 

Users who are viewing this thread

Top Bottom