Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    need_help12 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    58

    Navigation Form Errors

    Good afternoon.

    Quick question re: Navigation Form. I have 5 reports (based off queries) that each utilize a combo box to make a selection and a command button to open a report based off the combo box selection. All of these were working flawlessly, and then I decided to input each form into the Navigation Form, and now I'm getting errors, specifically parameter value prompts.

    Do I need to edit my queries at all now that these form are within the Navigation Form? Would appreciate any help.



    Thanks!

  2. #2
    TG_W is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Manvel, TX
    Posts
    299
    If I understand correctly, yes. You will need to filter on the parameters in your Combo Box. Example - if you are filtering on field [ID], you should add [Forms]![YourFormNameHere]![ComboBoxNameHere] in the criteria of the form.

    Hope that helps.

  3. #3
    need_help12 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    58
    Hey TG, this didnt work, but I may not have input this correctly. I have this string [Forms]![YourFormNameHere]![ComboBoxNameHere] in criteria of my query for the field I'm filtering on. Is this where it belongs? Same parameter issue.

  4. #4
    TG_W is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Manvel, TX
    Posts
    299
    Did you change the names or just copied and pasted the string? If you just copied and pasted, then insert your form name where it says [YourFormNameHere] and the combo box name where it says [ComboBoxNameHere]. Example - If your form name is "Form1" and combo box name is "Criteria", the string would read [Forms]![Form1]![Criteria].

  5. #5
    need_help12 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    58
    Oh no, I changed it. So I have a form ("frmWorkType") that I've input into the navigation form ("frmSwitchboard"). The criteria I have in the query ("qryWorkType") is [Forms]![frmWorkType]![Combo0]

  6. #6
    TG_W is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Manvel, TX
    Posts
    299
    Ok. Hope I didn't offend you. I've seen someone do that before.

    I forgot to mention adding "like" in front of the string. It should look like the snapshot.
    Click image for larger version. 

Name:	Capture.PNG 
Views:	7 
Size:	3.6 KB 
ID:	7338

  7. #7
    need_help12 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    58
    oh no offense at all, I need the help

  8. #8
    need_help12 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    58
    But unfortunately, that did not work either.

  9. #9
    TG_W is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Manvel, TX
    Posts
    299
    Ok. Is it possible to post the database for further analysis? If not, maybe a few screen shots would help.

  10. #10
    need_help12 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    58
    Give this a try. frmSwitchboard is the Navigation form.
    Attached Files Attached Files

  11. #11
    TG_W is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Manvel, TX
    Posts
    299
    Strange. It is giving me an unrecognized file name error when I try to open the db. Can you try uploading it again?

  12. #12
    need_help12 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    58
    See if this works....
    Attached Files Attached Files

  13. #13
    TG_W is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Manvel, TX
    Posts
    299
    Still not working, but I think I have figured out what you are trying to do - show the reports in the same form as the combo box, correct?

  14. #14
    need_help12 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    58
    Drats. Oh well. That's not quite what I'm trying to do. All my coding worked on my switchboard I created so that that when data was selected in the combo box on any of my forms, you clicked the cmd button to run the report. All were working just fine. Once I dragged the forms into the navigation form, they ceased working.

  15. #15
    TG_W is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Manvel, TX
    Posts
    299
    Ok. Try compact and repair then zipping again. I'm still a little hazy on what you are trying to do.

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

Similar Threads

  1. Navigation Form
    By WayneSteenkamp in forum Access
    Replies: 3
    Last Post: 03-04-2012, 03:35 AM
  2. Replies: 2
    Last Post: 02-29-2012, 01:09 PM
  3. Replies: 2
    Last Post: 08-18-2011, 10:20 PM
  4. Replies: 10
    Last Post: 07-25-2011, 12:07 PM
  5. Navigation Form
    By Roger81 in forum Forms
    Replies: 2
    Last Post: 07-21-2011, 01:33 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