|
-
February 17th, 2000, 06:14 AM
#1
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
-
February 17th, 2000, 09:33 PM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|