phpmaker 2018.
Good morning, I have a problem, master table and detail table in preview view (extention).
if I try to delete field in table details it identifies the previous search field in the master table.
eg:
- Master table: name search “Pippo”
- Master table: name search “Pluto”
- Details table: I want to delete the field associated with “Pluto”, by clicking on the delete field button referring to “Pluto”, it opens the tab to delete the “Pippo” field and not “Pluto”.
Master and detail tables are generated without any additional code.
If I log out and go back I get the right field, if I proceed first in page view on the field of the detail table and then delete it always works correctly.
To be clearer, it fetches the penultimate search variable of the master table and not the current one.
The preview table is only open for the field concerned.
Thanks for the help
Unfortunately it is a 3-year-old project, for the elimination of the records I was doing everything as an administrator, now I have enabled several users to perform the operation and there is a risk that they may be wrong.
The advancement to 2020 is ongoing but it takes time.
Naturalmete I found the temporary solution, disabling the preview (extension), so I make them go first in view and then delete.
I just wanted to understand what it can be and if it ever happened.
I tried with a new and clean project and version 2020, with the active extension continues to always take the previous field.
I select the -Pippo- field in the detail table with the delete button, (but I realize that -Pippo- I must not delete it and therefore cancel the deletion and return to the page list).
I select -Pluto- with the delete button because -Pluto- I have to delete, but the -Pippo- and not -Pluto- elimination mask opens.