Results 1 to 3 of 3

Thread: Adding combobox

  1. #1
    New Lounger
    Join Date
    Feb 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding combobox

    Dear All
    In this example, when adding (Department) in form (add department) I want to be saved in the section field (department) immediately with
    Attached Files Attached Files

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Platinum Lounger
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    4,520
    Thanks
    0
    Thanked 22 Times in 22 Posts
    On the Open form command do it with acDialog as the option, this ensures that the main form cannot be returned to until the AddDepartment form is closed.
    After put the following command:
    Department.Requery
    This will update the combo box with the latest department(s).

  4. #3
    New Lounger
    Join Date
    Feb 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    very very thank you my dear teacher
    Last edited by azizsader; 2014-05-01 at 02:22.

Posting Permissions

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