I new to all of this and I tried to find what I need on other posts/forums but I can't seem to find anything i can use.
What I'm doing is opening a second form from a main form. When the form opens I want to write the value of the main form PK to the control on the second form.
I have established the relationship which works if i type in the PK value from the main form so I know that all works. I just can't figure out how to make this happen automatically.
I created a simple database that I have attached which demonstrates how everything is set up.
Any help is greatly appreciated.
What I'm doing is opening a second form from a main form. When the form opens I want to write the value of the main form PK to the control on the second form.
I have established the relationship which works if i type in the PK value from the main form so I know that all works. I just can't figure out how to make this happen automatically.
I created a simple database that I have attached which demonstrates how everything is set up.
Any help is greatly appreciated.