Solved

How can I update or Append a binary file?

Posted on 2000-02-23
1
155 Views
Last Modified: 2010-05-02
I want to append or Update a binary file into a disk. As I'm using a put statement to  to write bninary data into a file. From an array
I want to update the file each time I write binary data into a file without deleting the previous one.
 I don't want use get statement first to read data thenupdated together.
as the array data is too big.
H
0
Comment
Question by:gargjapan
1 Comment
 
LVL 18

Accepted Solution

by:
deighton earned 5 total points
ID: 2549625
Find out the size of the file using the Lof command ( Lof(1) for example)  and hence how many records there are and then position to the end of the file by using

 put #1,records+1,x
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question