I have the following code that worked fine for a couple of years, and now I
get an error message, "Run tme error 54, Bad file mode":
If rs.RecordCount > 0 Then
Open "c:\laboratorij\P_100240_000002.txt" For Output As #99
Vrsta = "T0000028060101000001060707"
Print #99, Vrsta
Any idea what could have happened, and how to get the code to work again?
Thanks in advance,