I am writing a random access file, and I want to be able to write upto 2,147,483,647 (the upper limit of a long integer) - but I am getting a "Bad Record Number" when writing record 2,147,483,642
The MSDN helpfile states that the Put statement recnumber syntax is as follows:
recnumber: Variant (Long). Record number (Random mode files) or byte number (Binary mode files) at which writing begins.
Does anyone know the maximum numner of records a Put statement will write?