Prev: Conditional format - Check for valid values
Next: where is the "on timer" function for forms in Access 2007?
From: Ian Burton on 5 May 2010 10:06 I have a split form, with several unbound text boxes, which I would normally use as a filter by form type function. the query has criteria bound to these text boxes. My problem is that I cannot seem to get the mouse to focus on the unbound text boxes on this split form. when i click in the unbound filter by form text box, the focus immediately moves to the first text box that is bound to data on the form. Is there a solution to this, or if this is an unknown problem to anyone else, then i will try recreating my split form in a different way. if it is a problem, then any ideas for a solution would be appreciated. If perhaps a split form cannot have any unbound data entry controls on it, then I could create a form with the search criteria on, and keep the forms seperate. If i was to do this, though i would like to 'dock' this form at the top of the window, and then have the split form 'dock' underneath, as if there was an application level window splitter control. Is this possible? I guess I am looking for an elegant solution. Another option might be to put the filter by form text boxes in the ribbon, and I have added some stuff here, but I am unsure how I might refer to the control in a query criteria. thanks for reading this far, and I am grateful for any insights you can give me.
From: Ian Burton on 5 May 2010 11:38
"Ian Burton" wrote: > I have a split form, with several unbound text boxes, which I would normally > use as a filter by form type function. the query has criteria bound to these > text boxes. > My problem is that I cannot seem to get the mouse to focus on the unbound > text boxes on this split form. when i click in the unbound filter by form > text box, the focus immediately moves to the first text box that is bound to > data on the form. > Is there a solution to this, or if this is an unknown problem to anyone > else, then i will try recreating my split form in a different way. if it is > a problem, then any ideas for a solution would be appreciated. > If perhaps a split form cannot have any unbound data entry controls on it, > then I could create a form with the search criteria on, and keep the forms > seperate. If i was to do this, though i would like to 'dock' this form at > the top of the window, and then have the split form 'dock' underneath, as if > there was an application level window splitter control. Is this possible? I > guess I am looking for an elegant solution. Another option might be to put > the filter by form text boxes in the ribbon, and I have added some stuff > here, but I am unsure how I might refer to the control in a query criteria. > thanks for reading this far, and I am grateful for any insights you can give > me. > '''''''''''''''''''''''''''''''''''''''''''''''''''Reply'''''''''''''''''''''''''''''''''''''''''''' I have worked out the answer. I had made a simple mistake, and I had put the after update code in the onclick event instead for some mad reason. therefore, it does all work fine, and the split form seems to have the same type of functionality as a normal form, but with the very nice synchronicity between a datasheet view and the form view. Any answers to the idea of docking a form, or putting a search box in the ribbon and using it as a criteria though would be appreciated. thanks. |