Solved Convert Null to zeroo

see the progressive query and your report.
 

Attachments

see the progressive query and your report.
Sir the progressive values are reflecting as expected, but Sir, how to start renumbering from a certain date on monthly and yearly level in a append query. so for every year from example 1st April to 31st March we get a new serial number and similarly on monthly ground from 1st date of every month
 
we get a new serial number and similarly on monthly ground from 1st date of every month
Show some expected result to fully understand your request.
 
Sir sending the SampleDb with a CustomerVisit_tbl with few data of different date. I have labelled its Yearly and Monthly serial number incremental on year and monthwise manually. How to get the same as I add the rows to the table by use of a append query, so I need not do it maanually. So to get the monthly report I will use the CustomerVist_tbl as record source for the query
 

Attachments

how do you compute the YearlySerialNumber?
it is but sequencial now?
should it be reset to 1 on 2022?
 
Yes Yearly should reset to 1 on 1st april every year
and
Monthly to 1 on 1s of every month
 
i added code in Module1.
i create CustomerVisit_tbl Form, you test by adding some records there.
 

Attachments

Sir I am unable to implement the public function in my query. Please help
Sir I am using a dd/mm/yyyy Date format, so please correct the same
attaching the Db
 

Attachments

Users who are viewing this thread

Back
Top Bottom