I need to accomplish something i figured would be rather easy in Access, but i can't figure out how to do it and haven't had any luck googling it. In putting together a tooling projects database for my company to use, i am trying to make it easy to navigate and enter data using forms, now that others will be inputting data (I have been only user of DB up to now).
I know how to create a form and nest subforms into it, and establish the master/child relationship that connects them via relationships, but my forms get way too busy doing that. Instead, I've learned via YouTube how to create datasheet forms with hyperlink fields that, when clicked, open up a more detailed input form using either the openForm w/ filter macro or a BrowseTo macro, and then the form can be set to open up into a dialogue mode. Unfortunately, i can't seem to figure out how to maintain the parent field data when trying to establish this method of data input. A simple example probably explains my problem better...
Tooling Projects is the master table, and each project number is unique. I accumulate costs incurred related to each project via Purchase Orders, so purchase order table is connected to projects via a one-to-many relationship. In my current design, when i view my open projects, i can see all the purchase orders currently accumulated within that project (via OpenForm and filtering cmds). However, if i click on the blank/new line to create a new PO under that project (in a datasheet view), a blank PO input form opens up, but without any data in the project field. I'd like to somehow have that value pre-populate when the new PO form input dialogue opens, so the user doesn't have to look back at the unique project number in the parent projects table and re-enter it manually for each new Purchase Order. Obviously, under nested subforms, this happens automatically with master/child relationship, but i can't figure out how to accomplish this using hyperlinks that open new forms.
Thanks in advance for any help!