Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2011
    Posts
    24

    Unanswered: SOLVED: Need Help Locating Source of Events

    When you're in the code and find some arbitrarily command like "Command57" how do you look up what that refers to on the form?
    Last edited by nim6us; 12-05-11 at 18:59. Reason: Solved

  2. #2
    Join Date
    Mar 2009
    Posts
    5,442
    Provided Answers: 14
    Open the form in Design mode, then open the Properties window. There is a combo box in the upper-left corner of it. Select the control you're looking for into the list.
    Have a nice day!

  3. #3
    Join Date
    Nov 2011
    Posts
    24
    Ahh perfect! Hate being such a n00bile, overlooking obvious answers that are staring me in the face

  4. #4
    Join Date
    Jun 2005
    Location
    Richmond, Virginia USA
    Posts
    2,763
    Provided Answers: 19
    Of course, the definitive answer is to not accept the $%^ names Access assigns Controls as they're placed on a Form, but to give them meaningful names!
    Hope this helps!

    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  5. #5
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    Quote Originally Posted by Missinglinq View Post
    Of course, the definitive answer is to not accept the $%^ names Access assigns Controls as they're placed on a Form, but to give them meaningful names!
    no no no, you don't want to do that
    if you do it makes the code easier to understand, it means you can't waste hours trying to work out wtf is going on the code.

    FFS next you'll be asserting that variables be given 'meaningful' names. why waste time typing out a longwinded name such as 'assettrackingID' when you could use 'a', a perfectly good variable name

    its disgraceful that supposed professionals like you are letting the side down by suggesting ways that may make a developers life easier. development is supposed to be a roughty toughty bleading edge business. what next, they'll be letting women use computers for more than data entry and word processing

    ...madness, its all madness I tell ye
    I'd rather be riding on the Tiger 800 or the Norton

  6. #6
    Join Date
    Mar 2009
    Posts
    5,442
    Provided Answers: 14
    @healdem: On the same topic, see also: Naming
    Have a nice day!

  7. #7
    Join Date
    Jun 2005
    Location
    Richmond, Virginia USA
    Posts
    2,763
    Provided Answers: 19
    Uh huh!

    Linq ;0)>
    Hope this helps!

    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •