Hello,
For my personel invoice program, i want to change the logic for processing invoice values.
In early days, I hard coded into the dbf (Will stay with DBF) fields like :
Tot_2017, Tot_2016, Tot_2015, ... Tot_1994
Per_2017, Per_2016, ....
etc..
And in source I had stuff like
replace Tot_2017 with .....
replace Tot_2016 with......
So this year again, I will have to change my source and add structure of the database to fit 2019, 2020
I know this is bad practice...
How do you process detailed data for 1-5 year for statistics on screen (totals) with probably the same fields in the database ?
The most logic will be :
Year1, Year2, ...Year5 and than change headers of Xbrowse according 2019,2018...
At start of a new year I need to process again only the detail from 5 years including 2019 as start.
I hope I make any sense.
I gone update this into my 32 bit version i'm working on.