[AccessD] Write immediate window to a text file

Stuart McLachlan stuart at lexacorp.com.pg
Wed Sep 8 15:49:17 CDT 2021


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
> 




More information about the AccessD mailing list