Results 1 to 2 of 2

Thread: Access: Autopopulate a field on one from using another Form.

  1. #1
    Board Regular gheyman's Avatar
    Join Date
    Nov 2005
    Location
    Orlando, FL USA
    Posts
    1,637
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default Access: Autopopulate a field on one from using another Form.

    Default Access:

    This is Repost with different title - since my original did not meet posting requirements (in error). Sorry started writing the issue and forgot to get back to the title to complete it.
    Forum Use Guidelines, especially Item 4: https://www.mrexcel.com/forum/board-...forum-use.html. Titles such as 'Access:' don't qualify.

    ************************************************************************************************************************ ****************

    I have a button that I want to use as my Event

    When I click it, I want the value in a field on separate form to equal the value on the form that has my button

    The form that has the button is "frm_ModelGeneral_vluItem1" and the Field name is "ItemID"

    I want the value that is in ItemID

    to populate

    Form: "frm_VendorQuoteData" Field "ITEM_ID"

    How do I do this in VBA?
    Last edited by gheyman; Jun 7th, 2019 at 07:16 AM.
    G Heyman
    Northrop Grumman - Laser Systems'
    Apopka, FL

  2. #2
    MrExcel MVP
    Moderator
    xenou's Avatar
    Join Date
    Mar 2007
    Location
    Clev. OH, USA
    Posts
    16,475
    Post Thanks / Like
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Access: Autopopulate a field on one from using another Form.

    Something like (in the first control's after update event or possibly change event):

    [Forms]![MyOtherForm].[MyOtherControl].Value = Me.MyControl.Value

    Using: Office 2010/Win7 (work) Office 2010/Win7 (home)

    You are rich in proportion to the number of things you can let alone.
    -- Henry David Thoreau

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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