I'm creating an Access database for data entry, so I put together the form shown in the image below. It works great besides one problems I'm having that I can't seem to nail down.
I want to create a form that navigates by hiding and un-hiding subforms when clicking the buttons in the top bar. The subforms themselves are linked directly to the table (not a form, but the table itself). I did this in order to have an easy way to enter multiple entries in an excel like fashion that the users are familiar with. Entering the data works fine. Closing the form and re-opening it however causes the subform to show each individual record and the record navigations must be used to cycle through each one.
The intention was for the records be shown in the same fashion as if I just opened the table. Is there any viable way to accomplish this?
Related
So I'm new to access and making some modifications to some existing forms. I had to delete some columns from forms that are no longer used, which I did by removing them from the select query. I am however left with line delimiters for the columns that no longer exist, as you can see here.
edit: This is a subform. The form layout is to enter a project and type, and depending on what you enter it will display several different tabs, and the pictured table is displayed under one of the tabs.
I have an invoice form which pulls in multiple interrelated tables. But separately from that, I want to display a "legend" at the bottom of the invoice. The legend is contents of a separate table, but its not really related to anything on the form. It is simply some "verbiage" the source for which originates out of a access table.
Insert a subform, bound to that separate table, in the form footer.
You may even get away with, in design view, to simply drag the table and drop it in the form footer.
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
I'm creating a simple form using Chronoforms, but so far I haven't been able to solve a small problem.
I would love to load two or three fields in a search done by the autocomplete element, i currently have two autocompletes working, but i can't seem to be able to load the other values into the corresponding textboxes.
I'm including the link to the form
http://cfobb.ca/index.php?option=com_chronoforms&chronoform=nomination_form
and as it can be seen, the first two fields in the first tab are working autocompletes, but i would love to have them linked so when the user chooses in any of the two, the other automatically gets filled. That selection would also trigger another sql query (that i already have, nothing fancy) that would fill the School Name drop-down menu. Also there's this code in the help tab
$form->data['_PLUGINS_']['autocomplete_processor']['result'];
but i don't really know how to use/handle it
Thanks
I am busy developing an MS Access 2007 application that requires the use of subforms with quite a complex user interface. I am aware on how to create a parent form and link to a subform so that it shows data relating to the parent form record, but my question is this:
If I have multiple nested subforms (say 3 or 4 levels down), can I somehow link a subform sitting on the 4th level with the record of the parent form on the 1st level? What I mean by nested subforms is having a form pasted inside a form, pasted inside another form, etc.
The subform that I wish to link with the parent form is currently using a query as its source object and the reason for using nested subform is purely for the aesthetics of the user interface.
Is there a simple way to go about this? Or perhaps using VBA?
One thing that many people don't realize is that the LinkChild/LinkMaster fields can actually be any valid expression. So, you could have subForm1's LinkChild/LinkMaster properties be:
LinkMaster CustomerID
LinkChild CustomerID
Then subForm2 could have this:
LinkMaster subForm1.Form!InvoiceID
LinkChild InvoiceID
...and so forth. I can't imagine going much deeper than that, but it's possible.
You might also consider if a cascading datasheet form might do the trick, using subdatasheets. You can even have a datasheet display a non-datasheet form as its subdatasheet (something I disconvered entirely accidentally when I switched a a parent form having a subform into datasheet view -- the subform remained displayed in form view). With subdatasheets, you don't have any issues with number of forms, or the limitation on embedding continuous forms.
If this is purely for aesthetic reasons (it looks pretty to you or someone else), rather than functional reasons, why not just use a rectangle, with a "Sunken" Special Effect?