Access subform in a split view parent - hide from datasheet section - ms-access

I have a split view form with a subform in it. In the datasheet part of the split view Access displays a plus (+) that allows the user to display the subform for that record.
I want to prevent this behavior. How can I hide the subform from the datasheet section, but not the form section?
Even when all the subform columns are hidden the plus remains, even though it expands to show an empty subform.
Can the datasheet section be handled independent of the form view?

Try changing the table (split form's recordsource) properties (see picture below).
This may not be ideal solution since it will affect all forms (with datasheet views) that are based on the underlying table, though.

insert new (blank) subform (set visible NO)
set it lowest Tab Order among subforms (must be the first)
plus sign disapears

Related

Form and subform format problems

I have a main form with only 1 field, in a combo box. I have a subform linked to the main form on that field. The logic is all working fine - when I select an item from the main form I get the correct results in the subform.
The problem I have is the appearance of the form. I wanted both the form and sub form to be visible all the time. Instead, I get only the main form, with a "+" next to each record. Selecting the "+" then pops up the appropriately filtered subform.
I cannot find any menu selection s that are driving this format or allow me to change it to what I want.
To have the subdatasheet always expanded by default you can set the Subdatasheet Expanded (in the Format options) property to yes.

Which type of form to use for creating a Subform in MS-Access 2010 that displays a running progress report to the user?

My form has a button "Process files", and when pressed, nested VBA procedures will be executed and a subform will display a table of ids and their associated results. My question is in order to display a table with mutliple rows in a format that resembles something similar to a datasheet do I create the subform with the Multiple Items Form or the Datasheet form. Some more specifications on the subform are:
Form Properties
Name: fsubInstrumentInterfaceLog; Default View: Continuous; Record Selectors: Yes; Navigation Buttons: Yes; Scrollbars: Vertical
Header, Detail, Footer
Header: Column headings
Detail: One row of data fields. fields set to Enabled = Yes; Locked = Yes.
Container Properties
Insert this form into frmInstrumentInterface with Subform/Subreport control
Parent-Child Link: Link Master Fields: BatchID, cboInstrument; Link Child Fields: BatchID, InstrumentName
Special Effect: Etched
Here are my thoughts between both styles of continuous forms.
Datasheets forms
Resemble Access tables and Excel spreadsheets.
Can be very wide or long with no limit (to my knowledge).
Individual rows and columns width and height dimensions are adjustable by user (not limited to designer).
Does not contain editable form headers/footers. However, datasheets do allow footer aggregates (Sum, Avg, Count, etc.)
Conditional formatting can be applied.
All trigger events by field controls can be applied.
Limited GUI objects and their events can be integrated (no labels, buttons, or list boxes, etc.). Combo boxes can be added though. But this may not matter if you use a main form.
Special effects, back color, border color, and other control designs not allowed.
Controls can be locked from user changes.
Record selectors highlight entire row like spreadsheet.
Navigation controls and scrollbars are enabled.
Parent-Child links can be established like any other subform/subreport.
Multiple item forms
Resembles a row by row form view of the data.
Limited to 22 inches in width and height.
Individual row and columns width and height dimensions are not adjustable by user but limited to designer.
Does contain editable form header/footer.
Conditional formatting can be applied.
All trigger events by field names can be applied.
Any GUI objects and their events can be integrated (labels, buttons, drop down fields, etc.). But this may not matter if you use a main form.
Special effects, back color, border color, and other control designs are enabled.
Controls can be locked from user changes.
Record selector limited to arrow at far left of record.
Navigation controls and scrollbars are enabled.
Parent-Child links can be established like any other subform/subreport.
Overall, both operate very similarly. For me the choice depends on functionality of your form and subform combination. Multiple item forms provide a more natural user interface that be consistent with other forms. Datasheets can disrupt such a UI but they are easy setup for large volume.

How to set the first continuous combobox invisible in Access 2007?

I'm trying to add an OR feature in the Continuous Filter Form and as you can see the first combobox shows up which I don't want it to show. Ideally, it should show only when the user wants the second row search option not in the first row filter. I have only OR in the combobox. Thanks for your help and let me know if you need any clarification!
Continuous form controls are all or nothing. If it's visible, it's visible in all rows, if invisible, it's invisible in all rows. There's nothing you can do about that.
You have four options (in order of complexity):
First Option:
The "On Current" event of the form happens when a user moves from one row to another inside the continuous form. you can add an IF statement to that event that disables the first box if the user has moved to the first row.
Second Option:
Have a fixed amount of filter boxes, and don't let the user pass the limit
Third Option:
Have a fixed amount of filter boxes, but make a "forward" and "back" buttons that will change what data the filter boxes link to, effectively making a 'custom' continuous form
Fourth Option:
Dynamically create the textboxes programatically (not recommended)
Set the default 'Visible' property to 'No' and then Reset it to 'Yes' when a second criteria is selected. This will populate the whole column though, just so you know.

My unbound (Menu) subform is appearing in datasheet

I use an unbound form as a Menu/Navigation for my application. The menu form has VBA "on click" events for the labels. That is it.
When I add it as a subform to a split-form that is bound to one of the tables, the "menu" subform displays as a sub-datasheet.
When I go to the datasheet view to remove the sub-datasheet the "Remove" button is greyed out.
I've checked the main form and the menu sub-form for Subdatasheet Expanded "NO" and Subdatasheet Height "0"
I know this is probably going to be something painfully obvious that I seem to be overlooking but I've been searching for a solution all morning.
Thanks, people.
Did you add your navigation form using design view? For example, here is my split form with the navigation form added, note that the navigation form is set to display Single Form.
Here is the form displayed:

MS Access scrollbar on subform continuous forms not setting record focus

I can't seem to figure this out. I have a subform displaying continuous forms with a vertical scrollbar. When I click the scrollbar to move to a different record, the record never receives focus. The focus is still on the control of the record I left.
How to I control the record focus after using the scrollbar? The subform's On Current event does not fire.
Thanks!
The vertical scroll bar in a continuous MS Access form does not navigate among records. It simply changes which records are visible on the form. The black triangle within the record selector on the left side of the form indicates which record is currently "selected."
You can navigate records (ie, control the record focus, as you say) several different ways:
Click on the record selector* (the gray rectangle to the left of the form detail section)
Click on any enabled control within the form detail section
Use the navigation controls* at the bottom left of the form
Use [Tab], [Enter], or arrow keys to move through the individual controls on the form detail section; when you reach the last control in the tab order, your next [Tab]/[Enter]/[Down Arrow] key press will take you to the next record
* Note that both the Record Selectors and Navigation Buttons may be turned off on your form. On the form property sheet, ensure Record Selectors: Yes and Navigation Buttons: Yes.