G
Gianni Catucci
Hello everybody! Using Access 2000 in Windows XP
I created a database called CONTATORI.MDB with the table Contatori
including the following fields:
ID as counter
DataOp as date
TipoOp as string
Cliente as string
Indirizzo as string
Comune as string
Comune max 3 cities;
DataOp between the first and the last day of the month;
TipoOp max 3 patterns.
I must print the following reports per each Comune:
all the records with DataOp between the first and the last day of the
month + all the records with one TipoOp
And I try using the following instruction:
DoCmd.OpenReport NomeReport, acViewPreview, , CondizioneWHERE,
acViewNormal
But I can't get the wished result.
Considering that:
- in NomeReport I put the name of the report prepared with a Query
- I don't use any filter
- in CondizioneWHERE I set the string DataOp Between #datainiziomese#
And #datafinemese#
Can anyone give me a hint please?
Thanks
(e-mail address removed)
I created a database called CONTATORI.MDB with the table Contatori
including the following fields:
ID as counter
DataOp as date
TipoOp as string
Cliente as string
Indirizzo as string
Comune as string
Comune max 3 cities;
DataOp between the first and the last day of the month;
TipoOp max 3 patterns.
I must print the following reports per each Comune:
all the records with DataOp between the first and the last day of the
month + all the records with one TipoOp
And I try using the following instruction:
DoCmd.OpenReport NomeReport, acViewPreview, , CondizioneWHERE,
acViewNormal
But I can't get the wished result.
Considering that:
- in NomeReport I put the name of the report prepared with a Query
- I don't use any filter
- in CondizioneWHERE I set the string DataOp Between #datainiziomese#
And #datafinemese#
Can anyone give me a hint please?
Thanks
(e-mail address removed)