Results 1 to 5 of 5
  1. #1
    bbilotta is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Oct 2013
    Posts
    60

    control positioning of form when "not on list" envoked

    I have a form that contains a combo box. if the data entered in the combo box is not in the list a "not in list" event is triggered.



    this event opens a form in Add mode.

    The problem is that form is opening on a completely different screen (i have 3 for instance).

    Can i constrain the form to open within the boundaries of the main form?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    make a sub form. it will stay in the main form.
    keep it invisible until needed.

  3. #3
    bbilotta is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Oct 2013
    Posts
    60
    Thank you, but I don't always need the form. i only need the form if/when the user needs to enter a new value in the original drop down list.
    i don't want to create a situation where the user automatically creates new data simply because they misspelled the name.

    The user needs to select a dog club from the drop down. the idea is, if the club is not in the list they are taken to an Add/Edit form that opens up in Add mode.

  4. #4
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    maybe try the MoveSize method. IIRC, it's relative to the database window and not the screen so that should work for you.
    MoveSize(Right, Down, Width, Height) All of the parameters are optional, so you don't have to worry about width or height if not needed.
    The values are in Twips (I think about 1440 per inch).
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    bbilotta is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Oct 2013
    Posts
    60
    thanks Micron. i research the "MoveSize" method.

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

Similar Threads

  1. Replies: 2
    Last Post: 04-12-2016, 12:58 PM
  2. Replies: 1
    Last Post: 09-07-2015, 08:00 AM
  3. Replies: 3
    Last Post: 12-06-2014, 03:59 AM
  4. Replies: 5
    Last Post: 06-25-2012, 02:06 PM
  5. Replies: 11
    Last Post: 03-29-2012, 02:32 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