Generating reports through a form and the navigation pane - ms-access

Right now I have a report that is generated by clicking a button on a form. The criteria for the report is what the user selects in a combo box. That works fine, but when I click on the report in the navigation pane, it tells me to enter "Forms!Adjudication!Combo21" because that is the criteria it uses on the form. I was wondering if I can change that to say something like "Enter release event" that will show up when I click on the report in the navigation pane, but also leave the option to generate the report through the form?

well since your query is looking for that combo field, when the form is closed, it wont find it. however, the query is already prompting you to enter a value, so you can just enter a value in that box and it will work fine. no need to over do this. if you are looking to change the label to "Enter Release event", then consider changing the combo box's name on the form Adjudication to something that will make sense to the user, like instead of "Combo21", change it to "ReleaseEvent". That way the prompt should return "Forms!Adjudication!ReleaseEvent".
sure you can do more here to, but like i said, probably not necessary to over complicate this.

Related

Variable input from Form when opening Report

Exist:
A query with data and one of the columns is criteria based off of user input (i.e. [please choose a number:])
A report, based on that query, that asks for the same user input when opened.
A form with buttons to open said report and others and also a combo box based on a table.
Is it possible to make it so that when the button was pressed (to open the form), while a value was picked in the combo box, then the report that is loading will use the combo box value instead of asking the user for input?
I tried creating such action with both the Macro Builder and the Expression Builder in the OnClick button property. But failed.
Is this attainable in VB code? Is it even possible at all?
Thank you.
Assuming that the bound column of your combo box is the value that you wish to use to filter the query, simply change the query criteria from [please choose a number:] to instead reference the value held by your combo box, e.g.:
[Forms]![YourForm]![YourComboBox]

How do I make a specific checkbox usable/clickable (not read-only) whilst a form is opened with acFormReadOnly in Microsoft Access?

We've got a checkbox on a form that we'd like to be able to check/uncheck even whilst the form is opened as read-only (it's a sales/product form and when an order has been invoiced, we want to prevent changes).
I know I could add a command button in its place and even make that button look like it's a checkbox with some images, or even set up a key combination to be used instead of the checkbox, but first I'd like to know if it's possible to simply exclude one checkbox from being read-only on a read-only form.
No. You must go the other way around:
Make the form read-write, then disable all controls bound to data fields except this single checkbox.

enable command button on form while in filterbyform mode

I'm trying to put a pair of command buttons onto a form to enable users to:
enter filter criteria, then
after they enter the criteria, apply the filter
The first is easy enough with "DoCmd.RunCommand acCmdFilterByForm"
The second would work with "DoCmd.RunCommand acCmdApplyFilterSort", except that I can't figure out how to activate my command button "cmdApplyFilter". The code "Me.cmdApplyFilter.Enabled = True" throws a runtime error.
I've looked at a lot of discussions, and it seems the only way to do this is by clicking on the ribbon or quick access toolbar. Does anyone know how to activate a command button on the form while in filter by form mode?
I'm pretty sure that what you're trying to achieve is not possible. The 'filter by form' view of the form looks to be a copy of your original form with only the input controls enabled to allow you to enter your filter criteria. If you think about it, it wouldn't make sense to allow full functionality. If you could activate buttons in this mode then you would theoretically be able to perform all sorts of actions that aren't appropriate in this context: add records, delete records, navigate through the records etc.
I suspect that the only way you will be able to get the functionality you want without using the ribbon bar buttons (what's wrong with the ribbon bar?) is to hand-roll your own filter form. Design a new form having controls to accept filter criteria and buttons to cancel or apply the filter. Sounds like a lot of hard work though to replicate functionality that's already built into Access out of the box.

Hyperlink box (txtbox) on Access Form won't allow drop

I have a MS Access form that is bound to a query in the database. I added a textbox and added a row source to a Hyperlink datafield in the query. When I open the form, it won't allow me to drop a file into the textbox.
Here's the deal. When I follow this EXACT same process on a new form, it works perfectly. That is, I open a blank form and I bind the form to some new query, let's say qryNewIdeas. Then on the blank form i add a textbox, let's say Text0. Then, when I select Text0, I go to the data tab - row source and choose the dropdown arrow to select the hyperlink field, lets say NewIdeasAddress. I click SAVE and open the form. It works PERFECTLY.
BUT, when I repeat this on an existing form (the one where I need the thing to actually work), it does nothing. It adds and changes the textbox to a hyperlink box (I note this because of the blue underlined word that appears in the box). But it won't allow me to drop files to this location.
I tried commenting out ALL of my VBA code to try to make sure that something wasn't hindering it (say in an OnLoad event) AND I've checked all of the form and control box properties and they seem to be the same in both the existing form and the test form.
I can't determine why it works on one form and not the other; Solution needed.
If you have access to "the data tab - row source ..", you are in design view.
When you later open the form, you are in form view, a completely different animal which specifically prohibits design changes.
It sounds like you will have to rethink your concept.

Viewing SSRS Report in Report Manager With Keyboard Only

We have a requirement where user have no pointing device, user must use SSRS report manager to view report with keyboard only, but I am unable to select values for a multi-valued parameters, I managed to pop up the list, but when I press tab, focus moves to next parameters instead of going into the list of multi-valued parameter.
I tried many different keyboard combinations, but none is working. Also checked for any option on parameter itself, but did not find anything.
Is there anything I can do to resolve this problem.
This is a question you dont hear every day - I presume this is for accessability reasons?
I think you are at the mercy of your browser here. The following seems to work on IE9:
tab to the drop-down arrow and press space to drop down the list
press shift-tab then tab - this should get you to the (Select All) row.
use tab and shift-tab to scroll up and down the list
use space to select / unselect each row in the list
use tab or shift-tab to scroll off the end of the list
note your focus is now on the Show/Hide Parameters button (odd). You can tab or shift-tab from there to the next parameter.