[ms access]'s listbox on visible off still runs? - ms-access

i have a tab and has few pages on this tab control (say 8 pages) and each page has 2 or 3 listbox displaying some info related to that job (sales, admin, warehouse etc).
when a staff login, only the page related to their job is showing (tab page visible = false) and wondering if those listbox's row source still active (but not showing due to visible put to false)?
just wondering if affects performance due to many listbox in a form, visible or not?
thanks for reading.

Controls that are on an active, loaded form (even if they, or even the entire form, are/is not visible) can be queried against, period. Doesn't matter if they are on another tab or not. So yes, they will affect performance (likely negligibly, unless you've got thousands of or extremely complicated look-ups going on).

If the parent container(i.e a page on the tab is not visible), then all controls on the page will not be visible.
A control not visible in this instance because the parent container is not, e.g listbox, combo box, textbox, etc, does not consume memory space.

Related

(msaccess) Sync user scrolling across multiple pages/tabs/datasheets?

I have a form which contains multiple datasheet subforms, sorted into different pages of a tab control.
Each subform datasheet is based on an entirely different query, although in my case all subforms will always contain the exact same number of records as each other.
Question: Is it possible to programmatically capture user scrolling input (via keyboard, mousewheel, navigation buttons, or any combination thereof) and pass that information across subforms, so that, regardless of what the user does, whenever they switch pages/tabs, the same record number will always appear in row position one on every page/tab?
E.g. I have three subforms, each located with its own page control, and each underlying recordset has exactly 1000 records. A user scrolls down so that record # 575 shows in the first row of that page's subform. The user never actually selects any record, merely scrolls using mouse or keybpoard.
Is it possible to guarantee, that if the user switches to a different page/tab, that record number 575 of the corresponding recordset will show in the first row of the new page's datasheet?
There is no event to catch the scrolling itself, but you can control that the same current row id is visible in all subforms.
Full code and explanation including a working demo can be found and downloaded here:
Synchronizing Multiple Subforms in Access

MS Access Tab control in different locations on form for different users

I have a MS Access database with a number of forms. The back end seems to be working just fine, but the forms are causing me some trouble. When I open them, they look fine, but when coworkers open them, the Tab Control is in a different location, and on top of other controls. This is bad from a functional and aesthetic perspective. I have another form where this doesn't seem to be the case, and I'm not sure what is different. How can I lock down the location of the Tab Control so it doesn't appear in different places for different people?
This is how it looks on my computer:
This is how it looks to others - the Tab Control is shifted up:
Put the tab control in a container such as a panel and assign a location to the container.

Access making text box on forms static

I currently have a form in access which has text boxes which refreshes itself every time you click on it. I am assuming that access has a dynamic way of updating the tables, ie as soon as you move the cursor away from the text box, it updates the tables. Is there any way of making this static ie. I should have a button which after clicking updates a set of text boxes into the table. Although this is not a feature which is desired, I am planning to use this to prevent multiple users corrupting the data in the table.
What you're asking for is standard behavior... The record will not be saved until the record has lost focus, rather than the field. If your form is saving after each field loses focus (desired in some applications) it has been set up that way (probably with an OnChanged event on the textbox).

Access 2007 Reports - How to 'unfix' fields?

I'm fairly experienced with MS Access 2003, but 2007 has a new feature that is confusing me.
I'm maintaining an Access database with a variety of reports. Some of these reports have fields with constraints on where I can move them. If I move a field vertically, ALL the fields in that section must move with it. If I move a field horizontally, it automatically switches with the field next to it.
This is clearly a feature since it makes some kinds of reports easier, but it's just getting in my way now since I need to have detail fields on 2 lines. Can someone tell me what this thing is called and (more importantly) how do I turn it off?
The feature is known as "Control Layouts." Here's how to get rid of them:
Remove controls from a control layout
Removing a control from a
control layout allows you to place it anywhere on the report without
affecting the positioning of any other controls.
Select the control you want to remove from the layout. To select
multiple controls, hold down the SHIFT key and then click the controls
that you want to remove. To select all of the controls in the layout,
click the layout selector box at the top left corner of the layout.
Do
one of the following:
On the Arrange tab, in the Control Layout group,
click Remove.
Right-click one of the selected controls, point to
Layout, and then click Remove. Access removes the selected controls
from the layout.
TIP To prevent a control from being inserted into
a control layout as you move it, press and hold the CTRL key, and then
drag the control to where you want it.
The full documentation for the above excerpt can be found here: Modify, edit, or change a report

Can I somehow combine these two web-page controls?

There are tons of things wrong with this page, but I'm looking for some ideas about how (if it's possible) to combine two controls on the page before I go any further.
The page presents a stream of real-time stock-market data. The page is at:
http://www.sellmycalls.com/cgi-bin/chain
(works on the PC under ff 3.6.13, safari 5.0.3, chrome 9.0.597; fails in IE 6, untested in IE 7,8,9)
The two controls I'm asking about are at the top: one on the "refresh" button; and the other on the adjacent combo box.
The user can refresh the data manually any time by pressing that "refresh" button. And the user can set up auto-refresh by selecting an interval from the combo box.
The separate button and combo box take a lot of room, though. And the two separate but related controls seem kind of clunky to me.
Is there some nice, obvious, intuitive, satisfying way I can combine the two while at the same time allowing the user to:
use the single combined control to do a manual refresh any old time, over-riding auto-refresh;
use the single combined control to set up auto-refresh;
see from the single combined control whether or not auto-refresh is in effect; and
quickly and easily suspend auto-refresh, thus freezing the display.
Any ideas very welcome and attribution will be given, natch.
Thanks so much!
-- pete
Maybe not the most intuitive solution, but perhaps a combobox with the top item being labeled as Refresh, and if that is selected, it does a manual refresh.