random access delete code
This is a desperate cry for help, I am doing a project with a Random Access File. But Although I can delete a record from being displayed in the form, it remains in the file and also the UBound(Counter) property doesn't decrease by one. I realise without giving the actual code this description may seem a bit vague, but if anyone has/knows where I can get some sample code of how to delete a record it would be GREATLY appreciated as I'm tearing my hair out at this stage, Thanks Olan
Re: random access delete code
you basicaly have to open a new random access file
copy each record from original file while skipping
the deleted files.
close both files
kill the original file
rename new file to original