AndrewFry
6 years agoQrew Assistant Captain
New record pop-out window - Issues
I have three tables: Work Orders, Subdivisions, Locations.
1 Subdivision to Many Locations
1 Subdivision to Many Work Orders
I am having some issues with windows popping out but not recording the input data.
When I add a new subdivision using the form within the subdivision table, it gives me an option from within the subdivision form to add a new location via an "Add Location" button.
I click it and it asks to save the subdivision, I click yes, then it takes me to the Locations table form, where the subdivision is already related to the new location I am creating. It does not pop out the locations table form to a new window. It simply takes me to the locations table form. Once I input the location and save, it takes me back to my subdivision table form so I can finish it off and save it. This works as intended.
The issue comes when I go to create a new work order with a new sub division and a new location all at the same time.
I go to add a new Work Order. From within the new work order form I can add a new subdivision. However it isn't via a button but a drop down menu (maybe this is the issue???). I click the Add new subdivision in the drop down menu and a new window pops up where I can input the new subdivision. From within that "Add new subdivision" pop-up window, I can then click add new location from the drop down menu. It asks to save the subdivision, closes the window, and no new window for the new location is opened.
No error message, no new blank record ... simply nothing happens.
The subdivision is saved but I am not able to input a new location.
I think the issue stems from the pop-up window not being able to open an additional popup window for the locations.
Ideally, I would like to avoid the popup windows. I would much rather that clicking the "New Subdivision" in the work order drop down, take me to the subdivision table form, then from there clicking the new location takes me to the Locations table form. Once saved, it then takes me back to the subdivision. Then once saved back to the work order for me to continue.
Any thoughts as to why the above is happening? How to fix it? How to make the forms go to the tables/forms rather than open a pop-up window?
Thanks a ton for your help!!
1 Subdivision to Many Locations
1 Subdivision to Many Work Orders
I am having some issues with windows popping out but not recording the input data.
When I add a new subdivision using the form within the subdivision table, it gives me an option from within the subdivision form to add a new location via an "Add Location" button.
I click it and it asks to save the subdivision, I click yes, then it takes me to the Locations table form, where the subdivision is already related to the new location I am creating. It does not pop out the locations table form to a new window. It simply takes me to the locations table form. Once I input the location and save, it takes me back to my subdivision table form so I can finish it off and save it. This works as intended.
The issue comes when I go to create a new work order with a new sub division and a new location all at the same time.
I go to add a new Work Order. From within the new work order form I can add a new subdivision. However it isn't via a button but a drop down menu (maybe this is the issue???). I click the Add new subdivision in the drop down menu and a new window pops up where I can input the new subdivision. From within that "Add new subdivision" pop-up window, I can then click add new location from the drop down menu. It asks to save the subdivision, closes the window, and no new window for the new location is opened.
No error message, no new blank record ... simply nothing happens.
The subdivision is saved but I am not able to input a new location.
I think the issue stems from the pop-up window not being able to open an additional popup window for the locations.
Ideally, I would like to avoid the popup windows. I would much rather that clicking the "New Subdivision" in the work order drop down, take me to the subdivision table form, then from there clicking the new location takes me to the Locations table form. Once saved, it then takes me back to the subdivision. Then once saved back to the work order for me to continue.
Any thoughts as to why the above is happening? How to fix it? How to make the forms go to the tables/forms rather than open a pop-up window?
Thanks a ton for your help!!