G
geert.van.ransbeeck
Hello
I have this problem.
I made a query which amongst others contains a datafield
‘Enddate’ (with ex. 01/06/2011) and several other fields as ‘Y 2010’,
‘Y 2011’, ‘Y 2012’, ‘Y 2013’ … All those fields a filled in with data.
What I want to become: I finally want to create a report in which all
fields like ‘Y 2010’, ‘Y2011’ which depass the value of my field
‘Enddate’ are set to zero.
Ex. ‘Enddate’= 01/06/2011; in this case all values for this record in
the fields ‘Y2012’, ‘Y2013’, … must be set to zero. If 'Enddate' =
01/08/2012 all values for this record in the fields ‘Y2013’, ‘Y2014’,
‘Y2015’ … must be set to zero.
So it has to be checked record by record.
I am a beginner in vba. I suppose only vba is appropriate here.
Can anybody help me please?
Thank you.
I have this problem.
I made a query which amongst others contains a datafield
‘Enddate’ (with ex. 01/06/2011) and several other fields as ‘Y 2010’,
‘Y 2011’, ‘Y 2012’, ‘Y 2013’ … All those fields a filled in with data.
What I want to become: I finally want to create a report in which all
fields like ‘Y 2010’, ‘Y2011’ which depass the value of my field
‘Enddate’ are set to zero.
Ex. ‘Enddate’= 01/06/2011; in this case all values for this record in
the fields ‘Y2012’, ‘Y2013’, … must be set to zero. If 'Enddate' =
01/08/2012 all values for this record in the fields ‘Y2013’, ‘Y2014’,
‘Y2015’ … must be set to zero.
So it has to be checked record by record.
I am a beginner in vba. I suppose only vba is appropriate here.
Can anybody help me please?
Thank you.