I am getting the above error from the following code
fileWriter.WriteLine( _
record.strFirstName & "," & record.strLastName & "," & _
record.strStudentId & "," & record.strCourseName & "," & _
record.strGrade)
I am not exactly sure why.:confused:
Printable View
I am getting the above error from the following code
fileWriter.WriteLine( _
record.strFirstName & "," & record.strLastName & "," & _
record.strStudentId & "," & record.strCourseName & "," & _
record.strGrade)
I am not exactly sure why.:confused:
There isn't enough there to be certain, but the most likely answer is that fileWriter has not been instantiated. Next most likely is that record has not been instantiated. To find out which, you can highlight any piece and press Shif+F9 to look for the item that is Nothing.
I figured out what I was doing wrong I had to create the file for this code to work. Thanks
for all your replies.:wave: