error 5

  • Thread starter Thread starter Jean-Paul
  • Start date Start date
J

Jean-Paul

Hi,
following code results in an error 5

DoCmd.OutputTo acOutputReport, "Brief aan arts_JP", acFormatTXT, filenaam

The errormessage says (and now I have to translate) illegal
procedure-call or illegal argument

dono what is wrong with the code.
Can somebody help?
Thanks
 
read up on the OutputTo Method topic in Access Help. the issue may be with
the value you entered for the OutputFile argument.

hth
 
Back
Top