If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

[RESOLVED] Not able to delete object from bin

I have added a 'book' and am trying to delete that book from book.bin. It goes through the code and says it is deleted, but it hasn't actually deleted it from the book.bin file. The delete is based on the ISBN.

Re: Not able to delete object from bin

Re: Not able to delete object from bin

When I add a book, it will update the Book.bin with what I have added. Just checked though and it appears as though it isnt saving each one, just the last one that I entered. So, will need to look at that part of it. The RetrieveBook only has a loadstream, not a savestream, so maybe that has something to do with it?

Re: Not able to delete object from bin

OK, I got the delete working by adding the CreateBook that has the savestream in it. Now I just have to figure out why it isn't adding each book i enter, instead just overwriting the last with the current entry.