stream question

Toemv20

New Member
Hi,

I have a question concerning streams. When I press a certain button in my application, I open a stream for output, write some information in the stream towards a file and at the end I close it of course. When I click the button again, information is added to that file. My stream is not opened for append so I find this very strange. The information has to overwrite the old one and not add it. Can somebody help me with this?
Thanks in advance
 
stream

Have you worked with streams before??
You need to CLOSE the stream at the end of your code, do not assume because your procedure has finnished that is the end. You really need to look into streams here, what is the reason for using a stream? How did you know you needed a stream and not a strut!!
DONT use methods you are unfamilure with, have a play database to try new things on.
 

Jens

New Member
If you post the code that's run when the button is pressed maybe someone can help you.

Regards Jens
 
Top