I wonder... (Antonio, ChatGPT is not accessible, to much hits at this time )))))
When a dbf is on a record I have the (BAD) habit of doing calculations like :
nAankoop = artikel->new_bruto - (artikel->new_bruto * artikel->korting)/100
nAankoop = nAankoop - (new_bruto * artikel->korting2)/100
replace artikel->new_aankoop with nAankoop
artikel->new_marge = ((artikel->new_bruto/artikel->new_aank)*100)-100
artikel->new_diff = ((artikel->new_aank/artikel->aankoop)*100)-100
will there always be a disk access for each time I use a item artikel->.... ? or will the data come from the cach of the computer ?
Just to be sure ! . I can easily change my workflow in using a hash or tdatabase for this.
Disk activity when using a record
- Marc Venken
- Posts: 1485
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
- Antonio Linares
- Site Admin
- Posts: 42520
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Re: Disk activity when using a record
Dear Marc,
I would say that the data come from the cach of the computer
Only when you move to a different record, or you modify the data, the disk will be accessed
I would say that the data come from the cach of the computer
Only when you move to a different record, or you modify the data, the disk will be accessed