MsAccessNL
Member
- Local time
- Today, 23:37
- Joined
- Aug 27, 2022
- Messages
- 219
I am really curious how Access assemblies a continuous form. I tried googling it , and found out that it’s quite a special feature.
only those ms people who programmed it can answer that.I am really curious how Access assemblies a continuous form.
Just curious, what would ChatGPT say? I can't check right now.
Question:
How Access assemblies a continuous form?
Reply:
In Microsoft Access, a continuous form allows you to display multiple records in a single form, with each record appearing as a separate row. To create a continuous form in Access, follow these steps:
Once you've created the continuous form, you can use it to display and edit multiple records at the same time.
- Create a new form: Open the database and click on the "Create" tab in the ribbon. Click on the "Form Design" button in the Forms section to create a new form.
- Choose the Continuous Form option: In the New Form dialog box, select the "Continuous Form" option and click "OK." Access will create a new continuous form with a single blank record.
- Add fields to the form: From the Fields tab in the ribbon, drag and drop the fields you want to include in the form onto the form design. You can also right-click on the form and choose "Add Existing Fields" to add fields from the underlying table.
- Adjust the form layout: You can adjust the size and placement of the fields on the form to fit your needs. You can also add labels or other controls to the form to help users understand what information is being displayed.
- Save the form: When you're done making changes to the form, save it by clicking on the "Save" button in the Quick Access Toolbar or by going to the "File" menu and choosing "Save."
As @arnelgp remarked, only the people at Microsoft working on Microsoft Access development can know for sure. AFAIK this was never published in any way.I am really curious how Access assemblies a continuous form.
only those ms people who programmed it
maybe ask some "dust" to bite it (another one byte the dust..)"We use black holes and mirrors with some unicorn dust", what will you do with that information?
In addition to @Minty's comment: How Access works internally is Microsoft confidential information. No current or former Microsoft employee will disclose this just because you are curious.Can’t we track the guy who invented this option? Assuming he is still alive, he/she should be out there somewhere.
The feature is not so special after all.I am really curious how Access assemblies a continuous form. I tried googling it , and found out that it’s quite a special feature.
Access was released in 1992. Clint's tenure on the Access team was a more than decade later. He, and others who have worked at Microsoft, might know names of people involved at the time, but as others pointed out, information about the code is not now, and will probably not ever be, released publicly for reasons that should be obvious. I say probably not ever be made public only because there may come a day when Microsoft doesn't feel the need to continue supporting Microsoft themselvesCan’t we track the guy who invented this option? Assuming he is still alive, he/she should be out there somewhere.
May be we canask this guy:
https://www.linkedin.com/in/clint-covington
Every object variable you use in VBA is a pointer type.It's hard to do in VBA because VBA doesn't have a pointer type. (I imagine).
I don't think it's right to say that VBA offers pointers. To use your example, any variable is a pointer, but you can't easily use the address for anything useful. Access is super, but occasionally I feel it would be useful to manage some data by manipulating pointers and record structures. It generally ends up being easier to do this sort of stuff using a temporary table.Every object variable you use in VBA is a pointer type.
It's not particularly hard building a continuous form. - I happen to know because I'm currently working on something in VB.Net that could be considered a continuous form. - The (slightly) hard bit is that you need to keep the visual representation of the items in sync with their state in memory (and the database).
The particular weakness of VBA in this regard is that it has only a very limited set of available UI controls (the Microsoft Forms library), if you can even count those. Anything beyond that must be provided by the host application, Access in our case. The Access UI elements are pre-built for displaying data forms on screen, and they are reasonable good at that task. However, if you don't want to use the built-in forms, but build your own, Access is a very, very poor tool to achieve that goal.
CHATGPT ANSWER: Unfortunately, Microsoft Access does not have a code-based method for creating continuous forms. Instead, it provides a visual interface for designing and creating forms, which can be done through the steps outlined in my previous answer.I am really curious how Access assemblies a continuous form. I tried googling it , and found out that it’s quite a special feature.
vbnet
Sub CreateContinuousForm()
'Declare the variables
Dim frm As Form
Dim tbl As TableDef
'Create a new form
Set frm = CreateForm
'Set the form's record source to a table or query
Set tbl = CurrentDb.TableDefs("Table1")
frm.RecordSource = tbl.Name
'Set the form's view to Continuous Forms
frm.DefaultView = acFormViewContinuous
'Set the form's properties
frm.AllowDatasheetView = False
frm.AllowEdits = True
frm.AllowFilters = True
frm.AllowDeletions = True
'Add the fields to the form
frm.AddNewField "Field1", acText
frm.AddNewField "Field2", acNumber
'Save and open the form
frm.Save
frm.OpenForm
End Sub