Results 1 to 3 of 3
  1. #1
    CementCarver's Avatar
    CementCarver is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    231

    Immediate Window Key Ins

    I'm attempting to track down a problem in my code. I read on the internet that you can use the following keyin to help with problem indentification.

    ? ctl.Name
    ? ctl.ControlSource
    ? ctl.Enabled
    ? ctl.Locked
    ? ctl.Value

    But I use these lines, the answers don't even relate to the variable or line of code where the code stops with a problem. They actually reflect a similar line farther up the module.

    Am I using them correctly? Why don't they show results from where the code stopped?

    CemenCarver

  2. #2
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    India
    Posts
    616
    Use
    Code:
    Debug.print ctl.Name
    just before the line where the code stops with the problem. See the result in immediate window.

  3. #3
    CementCarver's Avatar
    CementCarver is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    231
    Thanks Amrut... I'll give that a try.....CementCarver

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Window can't be moved
    By PoorCadaver in forum Access
    Replies: 1
    Last Post: 12-20-2011, 09:55 AM
  2. Save As Window
    By Coffee in forum Programming
    Replies: 8
    Last Post: 08-18-2011, 06:25 PM
  3. how to pop up query window?
    By Nokia N93 in forum Forms
    Replies: 2
    Last Post: 03-28-2011, 01:11 AM
  4. Relationship Window
    By Rick West in forum Access
    Replies: 2
    Last Post: 08-17-2010, 12:39 PM
  5. get window nfo
    By alcoool in forum Access
    Replies: 3
    Last Post: 01-18-2010, 09:58 AM

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