Page 3 of 3 FirstFirst 123
Results 31 to 32 of 32
  1. #31
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    I have just reviewed the link that you gave me. Thanks, it was helpful.



    I thought that there were some situations where you could not call a function with no arguments by just using the function's name like this.

    FormHeading

    This was not allowed.

    Respectfully,


    Lou Reed

  2. #32
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    I thought that there were some situations where you could not call a function with no arguments by just using the function's name like this.

    FormHeading

    This was not allowed.
    No, that IS allowed - if fact you have to call a sub/function with no arguments that way. Using formHeading() will give you a compile error.

    If you use Call Formheading() , Access removes the (), as you have seen.

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Setting a breakpoint in code
    By Lou_Reed in forum Access
    Replies: 9
    Last Post: 08-04-2017, 12:03 PM
  2. Replies: 3
    Last Post: 05-28-2016, 07:35 AM
  3. Disabled Breakpoint continues to stop code
    By Glenn_Suggs in forum Access
    Replies: 3
    Last Post: 08-15-2014, 04:32 PM
  4. Phantom Breakpoint
    By Paul H in forum Programming
    Replies: 1
    Last Post: 10-03-2012, 01:30 PM
  5. Replies: 2
    Last Post: 11-29-2009, 12:00 PM

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