Change Object Type
Posted: Tue Apr 12, 2022 9:21 am
Maybe a silly question, but is it possible to change the Object Type via JS?
Depending if it is a Edit Record or Add Record, I would like to have an object in a form either be a Display object or Select object. This would be really neat if it works because you can already store the Display and Select SQL in the same object.
This is related to a depended dropdown data entry form, so I want to be able to select a value from a previous table, to filter the value in the next table. In Edit Record I would like for this to be a Display object just to show the value previously selected, and in Add Record I want it to have a Select object so that I can filter the options in the consequent Select object (dependent dropdown)
Many thanks in advance!
Depending if it is a Edit Record or Add Record, I would like to have an object in a form either be a Display object or Select object. This would be really neat if it works because you can already store the Display and Select SQL in the same object.
This is related to a depended dropdown data entry form, so I want to be able to select a value from a previous table, to filter the value in the next table. In Edit Record I would like for this to be a Display object just to show the value previously selected, and in Add Record I want it to have a Select object so that I can filter the options in the consequent Select object (dependent dropdown)
Many thanks in advance!