[AccessD] Write immediate window to a text file

John Colby jwcolby at gmail.com
Wed Sep 8 18:16:02 CDT 2021


yes, you are really talking about a log file which Stuart is showing.

On Wed, Sep 8, 2021 at 4:49 PM Stuart McLachlan <stuart at lexacorp.com.pg>
wrote:

> I generally use something like this.
>
> Instead of
> Debug.Print "This is the output"
> use
> Logit "This is the Output"
>
> Function Logit(s As String)
> Dim ff As Long
> ff = FreeFile
> Open CurrentProject.Path & "\Log.txt" For Append As #ff
> Print #ff, s
> Close #ff
> End Function
>
> On 8 Sep 2021 at 13:23, Arthur Fuller wrote:
>
> > Sometimes my output to the debug window is too large for the buffer, I
> > want ro write it to a text file. I used to know how to do that but
> > I've forgotten
> >
> > --
> > Arthur
> > --
> > AccessD mailing list
> > AccessD at databaseadvisors.com
> > https://databaseadvisors.com/mailman/listinfo/accessd
> > Website: http://www.databaseadvisors.com
> >
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>


-- 
John W. Colby
Colby Consulting


More information about the AccessD mailing list