![]() |
Sergey Kornilov admin 4/24/2024 |
This should be possible in general and results returned by getMasterRecord() function will give you an indication if details table is open in standalone mode or in the details mode. However, we highly recommend avoiding this kind of use. Do not open the same table in both details and standalone mode, it may lead to some issues that will be extremely difficult to debug and fix. The recommended approach is to create a custom view of the details table and separate standalone and details modes. |
![]() |
mbintex author 4/24/2024 |
I am not using the same table in details and standolone mode. I just don´t want to see the foreign key field of the master table when the details are shown. getMasterRecord() gives me data from the master, but not the table name itself. I would have to know if the master is table a or b for hiding the corresponding foreign keys. |
![]() |
Sergey Kornilov admin 4/26/2024 |
Again, you are trying to build something the way that potentially is a source of an error like using the same table as details twice. Using a custom view here is a safer approach. I do not have a complete information but you can probably read the master table name from the URL. |
![]() |
mbintex author 4/26/2024 |
but you can probably read the master table name from the URL if getMasterRecord isn´t giving me the table name of the Master than this is probably the way to go. Thanks. |