Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 32
  1. #16
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922

    You could also change the Bound column of the cbo.

  2. #17
    aceoftrades is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    35
    Now I'm really pulling my hair out...Here is my Table structure:

    FormID FormName Forms
    1 frm1 Form 1
    2 frm2 Form 2
    3 frm3 Form 3

    If I click on Form 1 in the combo box I want it to open frm1
    When I have .Column(0) I get "The form name "1" is misspelled or refers to a form that doesn't exist."
    When I have .Column(1) I get "The form name "Form 1" is misspelled or refers to a form that doesn't exist."
    When I have .Column(2) I get "The action or method requires a Form Name argument."

  3. #18
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    .Column(1) should give you "frm1", not "Form 1"

  4. #19
    aceoftrades is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    35
    It doesn't...I've tried moving the columns also...it only ever recognizes FormID and Forms columns and never FormName no matter what I change...

  5. #20
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    What do you have as a ColumnCount?

  6. #21
    aceoftrades is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    35
    I'm not sure if it matters but the combo box is Unbound. If it should be Bound how do I change it?

  7. #22
    aceoftrades is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    35
    ColumnCount???

  8. #23
    aceoftrades is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    35
    Sorry...ColumnCount was 2...I'm changing to 3 and trying.

  9. #24
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    And I would expect such a cbo *not* to have a ControlSource. (unbound) It can still have a "Bound" column.

  10. #25
    aceoftrades is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    35
    Nope...changed ColumnCount to 3 and 4 ... still same. Is there a way to refer to the column field name?

  11. #26
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Something else is wrong. Can you zip up and post your db for review?

  12. #27
    aceoftrades is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    35
    Ok...here's the file. If you open ToiletF under Product Forms in the top right is the Switch Category Combo Box. Category is the table which propagates the Combo Box. (Form1, frm1, Form 1 was to try and keep things simple)... If you could also look at Switchboard-Add Product-when I open Toilet (or anything else) I want the form to open with the results filtered to only Toilets Catagory... Thank you for your help.
    Attached Files Attached Files

  13. #28
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The RowSource of your ComboBox did not contain the field you needed. I changed it for you.
    Attached Files Attached Files

  14. #29
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by aceoftrades View Post
    ...when I open Toilet (or anything else) I want the form to open with the results filtered to only Toilets Catagory... Thank you for your help.
    Convert the Macro's to code for that form (NewProductF) and then complete the WhereCondition argument of the OpenForm command.

  15. #30
    aceoftrades is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    35
    Works great...Thank you for your help...

Page 2 of 3 FirstFirst 123 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. A Combo box that open another form
    By mar_t in forum Access
    Replies: 14
    Last Post: 01-09-2011, 10:53 PM
  2. Replies: 2
    Last Post: 02-26-2010, 08:14 AM
  3. Can you set a combo box to open links?
    By Procom Webserve in forum Access
    Replies: 2
    Last Post: 12-07-2009, 03:11 AM
  4. Open a form using a query that references a combo
    By accessbobp646 in forum Access
    Replies: 1
    Last Post: 02-22-2009, 09:50 AM
  5. Using combo box to open another form
    By ladyairj23 in forum Forms
    Replies: 0
    Last Post: 06-02-2006, 07:03 AM

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