Results 1 to 7 of 7

Thread: [] useage

  1. #1
    Join Date
    Jun 2007
    Location
    Maitland NSW,Australia
    Posts
    388

    Unanswered:

    What is the question?

  2. #2
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    Dunno. As you seem to be the OP, that's your call isn't it?!
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

  3. #3
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    the front page indicates that bob2119 is the OP, so I suspect he may well have deleted the post and due tot eh design of vBulletin this has been left as an artifact
    I'd rather be riding on the Tiger 800 or the Norton

  4. #4
    Join Date
    Jul 2009
    Posts
    185
    I did not delete it. the question why
    debug.print [planes.cycles] worked but
    debug.print planes.cycles did not and there is no spaces in the objects name? I never use spaces anymore. I got bitten to many times and learned my lesson.I am currently always using [] now.

  5. #5
    Join Date
    Apr 2009
    Posts
    14
    You need the square brackets because it seems you have a full stop in the object name. Using pretty much any punctuation will mean you need to use []. Instead, I tend to selectively capitalise object names, eg PlanesCycles. So
    debug.print PlanesCycles
    should work.

  6. #6
    Join Date
    Jun 2007
    Location
    Maitland NSW,Australia
    Posts
    388
    I prefer to use a format like planes_cycles.

  7. #7
    Join Date
    Jul 2009
    Posts
    185
    I use format PlanesCycles now. It is easier for me to remember easy to read.
    But I still have to use [PlanesCycles] to get somethings to work.

Posting Permissions

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