Results 1 to 2 of 2
  1. #1
    The Professor is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2012
    Location
    Cambridgeshire, UK
    Posts
    67

    Determining a Control's Subscript

    Hello,



    Is there anyway to determine a particular control's subscript?

    I'm aware of the forms.count(n) method for cycling through all the controls on a form, but often you don't want to go through them all, but might want to just work on a few of them at a time. Is there any way to find out what particular 'number' a control has, on the form (a bit like can for a Tab Stop). If so, can that number (or subscript) be changed if necessary, as you can with a Tab Stop?

    Cheers.

  2. #2
    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
    You might be able to restrict to the type of control and the enumerate within that type.
    ss http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx

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

Similar Threads

  1. Determining the value of 3 Date/Time Boxes....Newbie
    By REAbernathy in forum Programming
    Replies: 3
    Last Post: 09-12-2012, 12:05 PM
  2. Subscript out of range (9)
    By msche398 in forum Programming
    Replies: 1
    Last Post: 07-08-2011, 12:52 PM
  3. Database Split - Error Subscript out of range
    By Huddle in forum Database Design
    Replies: 7
    Last Post: 07-16-2010, 01:52 PM
  4. Determining cause of Update event
    By RJosephNewton in forum Access
    Replies: 3
    Last Post: 03-25-2010, 04:34 PM
  5. Determining Winners/Losers
    By pfeff in forum Queries
    Replies: 0
    Last Post: 02-21-2008, 03:46 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