I get this error when i try to drag a record from a file;
The bit in bold is where the error crashes at. Any idea why it crashes, it because i used this code for like 5 other files and worked perfectly fine.
Private Sub cboBookingID_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cboBookingID.Click
'output all records method 1
NumberOfRecords = LOF(4) / Len(OneBooking)
For Index = 1 To NumberOfRecords
FileGet(4, OneBooking, Index)
If OneBooking.Deleted = False Then