From time to time, I want to know what, fokr instance, the SQL actually was at a run-time event. This allows me to, at a latere date, view the value or it - or any other similar value. I can add a time date ref to the filename or the user to make it more unique and keep all such events.
private sub TellMe(SQLstr as string)
OPEN "\MyFolder\TellMe.txt" FOR APPEND as #1
print #1, "My Helps " & space(23) & now() print #1, "The SQL was "; print #1, SQLstr