G
Guest
I am using Access 2003
I am running a report from a query and I want to make a summary at the end.
I have two types of data , amounts and invoice reference numbers. These are
analysed by supplier for each detail line. There is not a reference for each
supplier on every detail line.
The invoice reference number is a text field.
My problem is with the reference numbers. I want to count the number of
invoice reference numbers for each supplier.
I have tried Count and DCount but cannot get either to work. In DCount I
think my problem is in setting the criteria. I have tried "<>"" " and " <>
NULL " and neither seem to work for me.
I have also noticed that when looking up DCount in the help file the example
shown puts quotation marks around each of the 3 elements. However if you use
the wizard to create the expression it does not use any quotation marks. So I
am not sure of the correct way to set up the expression.
I would be grateful if anybody could give me some help or guidance on
getting this to work.
Many thanks,
Sean Bishop
I am running a report from a query and I want to make a summary at the end.
I have two types of data , amounts and invoice reference numbers. These are
analysed by supplier for each detail line. There is not a reference for each
supplier on every detail line.
The invoice reference number is a text field.
My problem is with the reference numbers. I want to count the number of
invoice reference numbers for each supplier.
I have tried Count and DCount but cannot get either to work. In DCount I
think my problem is in setting the criteria. I have tried "<>"" " and " <>
NULL " and neither seem to work for me.
I have also noticed that when looking up DCount in the help file the example
shown puts quotation marks around each of the 3 elements. However if you use
the wizard to create the expression it does not use any quotation marks. So I
am not sure of the correct way to set up the expression.
I would be grateful if anybody could give me some help or guidance on
getting this to work.
Many thanks,
Sean Bishop