Solved

How can I update or Append a binary file?

Posted on 2000-02-23
1
156 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

789 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