Run time error "59" Bad record length? (1 Viewer)

krhowells1

New member
Local time
Today, 15:49
Joined
Dec 11, 2009
Messages
1
Hi, Ive been having this problem with a bad record length while trying to save data into a .dat file. It works fine on my other forms but doesnt seem to work for this one.

Open filename For Random As #1 Len = Size
fixture.fixtureid = recordcount + 1
Put #1, recordcount + 1, fixture
Close #1

this is what happens when i click debug ( this is the bit that gets highlighted in yellow)

Any ideas please?

Many thanks

Rhys.
 

Users who are viewing this thread

Top Bottom