Hi,
In addition to what Warren is saying, you are not supposed to try to access components on another screen. I understand that the Project Gallery is on a
totally different screen correct?
Personally I would have passed the Project Record as a Context Variable between screens
Navigate(myscreen2, Transition.None/Right/whateverYouwant, { _ProjectRecord: ProjectGallery.Selected });
As for why its not working is because (I am guessing) if its a LookUp
its really 'Active Projects'.'Active Project' for the GUID reference but since its from another Screen its not going to work and is not intended to work even if a Bug in the platform made it work.
that being said, you could also simply do
In the Context Variable Pase the ProjectGallery.Selected.'Project Id' or whatever the proper name is
Navigate(myscreen2, Transition.None/Right/whateverYouwant, { _ProjectId: ProjectGallery.Selected.'Project Id' });
Then in your Form
LookUp(Projects, ID = _ProjectID)