Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    ZandyRox is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    34
    I re-read post #4. Why would I change 'proj_name'? Wouldn't I need them to be the same so they would link up?



    Also, I tried renaming it 'combo11' and a dialogue box still comes up.

    I double checked that I was using After Update.

    What about deleting the combo box and bring it back?

  2. #17
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Try naming the combo combo11 and

    your SQL for the query would look more like
    WHERE (((tbl_projects.proj_name)=[Forms]![frmProjectSearch]![combo11]));

  3. #18
    ZandyRox is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    34
    DONE.

    SELECT tbl_projects.proj_num, tbl_projects.proj_name, tbl_projects.proj_srvc_aact, tbl_projects.proj_jurisdiction, tbl_milestones.stage, tbl_milestones.status, tbl_projects.proj_category
    FROM tbl_projects LEFT JOIN tbl_milestones ON tbl_projects.ID = tbl_milestones.proj_id
    WHERE (((tbl_projects.proj_name)=[Forms]![frmProjectSearch]![Combo11]));

    AND DONE.

    In the property sheet, under Other, there is a field for Name. I put in Combo11.

  4. #19
    ZandyRox is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    34
    Could there be something wrong with this statement: [Forms]![frmProjectSearch]![Combo11]

  5. #20
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    In my testing, (using 32 bit A2010) it appears that the VBA project is corrupt or is going corrupt.
    I can open the database, open the search form, select a project and get the parameter dialog box.
    Then do a compact and repair.
    Close the database after clicking on enough buttons.
    Close the database.
    Open the database.

    At some point, the quick form pops up - no errors - the form is populated. Seems to work with out errors.

    You might want to create a new blank database and import the objects from the old dB...

    Also, you have the PK of every table names "ID". While this is not technically wrong, it is confusing. It would be better to use names like
    "ContactID", "PriorityID" or "MilestonesID"..... Actually, I would use "ContactPK" or "Contact_PK". And in the related table I would use "Contact_FK" or "ContactFK", etc..

    You have used reserved words as field names - not a good idea. Two examples that jumped out at me are "Date" and "Type". Besides being reserved words, they are not very descriptive. "Type" of what??? "Date" of what???

    My 2 cents......

  6. #21
    ZandyRox is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    34
    My apologies for the bugs. I inherited this database (it was built before my time)...I gotta deal with one issue at a time.

    I will probably just create a new database and import.

    Thanks!

  7. #22
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Steve!! Where the heck have you been? Glad to see you!

  8. #23
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Been slammed at work and family issues. Been so long I forgot my password!!!

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

Similar Threads

  1. Replies: 1
    Last Post: 10-30-2012, 10:29 AM
  2. Replies: 1
    Last Post: 09-03-2012, 06:53 AM
  3. Replies: 3
    Last Post: 01-28-2011, 11:42 AM
  4. Access form combo box value changing
    By justrizlee in forum Forms
    Replies: 1
    Last Post: 12-22-2010, 08:56 AM
  5. Access 2007 - Form Combo Box
    By losttrail in forum Forms
    Replies: 26
    Last Post: 09-10-2010, 09:32 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