Why folks would be confused?wont confuse folks.
I know how MS use them in their templates ... but that doesn't tell me how you use them (not in the way they were originally intended)Please don't judge me, but I use split forms a lot. However, not in the way they were originally intended. To see what I mean, download any MS Template and see how they use split forms in them. Cheers!
Is it a sin to use them?Please don't judge me, but I use split forms a lot
@Pat Hartman I don't have your experience and knowledge and I can't argue with you.I never use them but that is because my BE's are almost always SQL Server or are likely to need to be upsized in the future. WHY - because when the BE is SQL server, you would NEVER, EVER bind a form to a table (unless the table will always be very small) or a query with no criteria and filter locally. It defeats a major benefit of using a RDBMS as the BE. If you are going to download all the rows from the table/query and filter locally, that would be seriously poor practice with a RDBMS BE.
Yes I can. But why should I? When a split form without a line of code gives me the same possibility...You can achieve the same functionality with a main form/sub form design and a combo box that filters those 2 million records so that only one is ever returned in the form's recordsource, not all 2 million. Not a minor thing, I believe.
Exactly. And when I go to a new record, I have an empty form ready for inputting data...AND... I can see the previous records as a reference. I can check the previous tools, their properties, tolerances etc...What you see in the upper, single form, portion is the exact same fields as you see in the first row in the datasheet portion of te form. That's because it is the exact same record. If you move the focus to the second row in the datasheet view, the record displayed in the single form view changes to that same record, and vice versa.
Nothing. Not even a line of code. It's a split form that opens as a data entry form.That leaves me at a loss as to how you are seeing "a list of saved records since it's last been opened". What else is going on here to accomplish that?
If you are binding them to select queries with criteria that limits the data retrieved, then as long as you don't have any problem with their quirks, use them if your people like them.Just wanted to say we have a sql server BE and we also have a lot of split forms.
The forms recordsets are : SELECT * FROM MyQuery WHERE False;If you are binding them to select queries with criteria that limits the data retrieved, then as long as you don't have any problem with their quirks, use them if your people like them.
You are filtering the records then. And that's exactly the same thing you could do with a form in any other view. I get why you like it, though. It combines a standard single view form, with a datasheet view of the same recordset. Having one's cake and eating it too.The forms recordsets are : SELECT * FROM MyQuery WHERE False;
Then in On_Loud event we have :
Me.Recordsource = "SELECT * FROM MyQuery WHERE " & Me.OpenArgs
We almost need all fields. Hence using *.
That was the answer for how we normally open forms.You are filtering the records then.
Exactly. It prevents users switch between search form and input formI get why you like it, though. It combines a standard single view form, with a datasheet view of the same recordset.
I wonder if one could figure out a way to do the same thing with a main form in single view and a subform in datasheet view, both bound to the same table? Has anyone done that?That was the answer for how we normally open forms.
The image you see above is a normal split form, not filtered, but set as input data. It's opened just like;
Docmd.OpenForm "frmMaterials"
Exactly. It prevents users switch between search form and input form
OR
Having both forms open at the same time.
One look, give them all they need. The form is kept opened the whole day, and as they manufacture more and more parts, they can see/check the change in the manufactured dimensions and used tolerances for Roughing, Finishing and other used tools.