Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    MattPGA is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2015
    Posts
    11

    So how do you use debug.print like you are describing? I use the immediate window but usually with a ? for current values of controls and variables. I haven't really used debug.print. Do you put it in the module or in the immediate window. I tried both but couldn't figure it out. Sorry.

  2. #17
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Like this
    Code:
    Private Sub Detail_Paint()
    Debug.Print "called detail_paint"
    
    End Sub
    But you can also include variables...

    See the debugging link in June's signature. Chip Pearson has an excellent guide
    to debugging and error handling. Good luck

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 02-06-2015, 03:22 PM
  2. Suppress "Error" message following "Cancel = True"
    By GraeagleBill in forum Programming
    Replies: 7
    Last Post: 03-23-2014, 05:40 PM
  3. Replies: 1
    Last Post: 03-14-2013, 12:39 PM
  4. Replies: 1
    Last Post: 01-29-2013, 03:13 PM
  5. "Group By" causes "ODBC--Call Failed" error
    By kaledev in forum Queries
    Replies: 1
    Last Post: 03-09-2011, 02:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums