Results 1 to 4 of 4
  1. #1
    bigmac is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2008
    Posts
    21

    Question open form based on combobox

    hi all, can you help please, i have two forms "form1" and "form2", on form one i have cascading combobox called "cbo27", what i am trying to do is after update of "cbo27" than this will open form2 and place the contents of "cbo27" into a textbox called "isodwgno", can anyone help please, cheers

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    After opening the form:

    Forms!Form2.isodwgno = Me.cbo27
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    TG_W is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Manvel, TX
    Posts
    299
    Try the following

    Private Sub cbo27_AfterUpdate()
    DoCmd.OpenForm "Form2"
    [Forms]![Form2]![isodwgno] = Me.cbo27
    End Sub

  4. #4
    bigmac is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2008
    Posts
    21
    thanks for the fast response, will try them out, thanks

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

Similar Threads

  1. Replies: 1
    Last Post: 09-06-2011, 01:47 PM
  2. Replies: 29
    Last Post: 08-16-2011, 05:52 PM
  3. Replies: 6
    Last Post: 07-28-2011, 04:07 AM
  4. Replies: 0
    Last Post: 08-24-2010, 06:38 PM
  5. Replies: 0
    Last Post: 12-16-2009, 01:14 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