Hey everybody,
Can anyone tell me why the following piece of code generates an error 54- Bad File Mode in line 'Print #1...'?
Win XP, SP2, Access 2003, Administrator permissions.
It used to work in good old days...not anymore.
Am I missing something?
Thank you in advance,
![[pipe] [pipe] [pipe]](/data/assets/smilies/pipe.gif)
Daniel Vlas
Systems Consultant
Can anyone tell me why the following piece of code generates an error 54- Bad File Mode in line 'Print #1...'?
Code:
Open "C:\FileName.txt" For Output As #1
For i = 0 To n
Print #1, arrInfo(i)
Next
Close #1
Win XP, SP2, Access 2003, Administrator permissions.
It used to work in good old days...not anymore.
Am I missing something?
Thank you in advance,
![[pipe] [pipe] [pipe]](/data/assets/smilies/pipe.gif)
Daniel Vlas
Systems Consultant