Update New Record In junction table with VBA (without subform) (1 Viewer)

Deepak.Doddagoudar

Registered User.
Local time
Today, 14:14
Joined
Mar 15, 2018
Messages
14
I am thinking of using the Dmax or DLast function and run the Select query but not sure how to do it.
 

Deepak.Doddagoudar

Registered User.
Local time
Today, 14:14
Joined
Mar 15, 2018
Messages
14
I created a New Machine System under the newly added Machine and the code is working as per desired.
Now the FLAW is when I create a New Machine Sub System for the newly created Machine System i want to see only the new Machine Sub System not the other items.
You will get a clear picture by seeing the image. I want the population of only the Green highlighted box not the Red box.
I gave two DMax functions and criteria in the query which says the max ID of machine sub system must be equal to max ID of machine system.
But still it is not working. I just need one help to complete my project.
 

Attachments

  • Capture.PNG
    Capture.PNG
    42 KB · Views: 92
  • Capture1.PNG
    Capture1.PNG
    30.7 KB · Views: 94
  • DB1 (1).accdb
    900 KB · Views: 56
Last edited:

Users who are viewing this thread

Top Bottom