INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

How to

How to find run-time values by Rolliee
Posted: 4 Aug 03 (Edited 20 Aug 03)

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

close #1

exit sub

Back to Microsoft: Access Forms FAQ Index
Back to Microsoft: Access Forms Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close