Symptoms
I'm trying to initialize a view based on a selection in a sub-view, and it works if I hard code the parameter that is used in the initialization, but if I use a parameter, it fails.
Diagnoses
Diagnosis:
The use of parameters to transfer data between forms, subforms and views is not that recommended. A Data Label can work better for this kind of scenario.
Resolution
Transferring the value to a Data Label and load the Sub form with that Data label resolved the issue.