I know I have raised this question before but I am still without a satisfactory resolution.
I need to be able to create a child form (as opposed to sub form) which opens in the second window and allows you to add a record linked to the main form. This works fine within the query but not on the form even when a one to many relationship is established. To get around this problem, so far I have been managing by showing an invisble FK on the child form and creating a sub form which is spread on full page so that the link relationships are created allow addition of records. But I believe there must be a better way of doing things when you want to create a child form without having to resort to hidden FK method. To give you an idea of my requirement, the database I have is a collection of of various projects and has two tables - tblProjects and tblPOs. While maintaining a project, I raise several purchase orders against one project. So I have created a command button to take me to the PO screen. I would love to be able to maintain my projects in the main form and when necessary
I need to be able to create a child form (as opposed to sub form) which opens in the second window and allows you to add a record linked to the main form. This works fine within the query but not on the form even when a one to many relationship is established. To get around this problem, so far I have been managing by showing an invisble FK on the child form and creating a sub form which is spread on full page so that the link relationships are created allow addition of records. But I believe there must be a better way of doing things when you want to create a child form without having to resort to hidden FK method. To give you an idea of my requirement, the database I have is a collection of of various projects and has two tables - tblProjects and tblPOs. While maintaining a project, I raise several purchase orders against one project. So I have created a command button to take me to the PO screen. I would love to be able to maintain my projects in the main form and when necessary