How to Handle NULL FKs on a detail screen

I am using a screen to show information about a user. On one view, I am joining the user to their Registration using the primary key.

When the user has already registered, the view displays the Registration entity data correctly. However, how do I handle the case where the join fails and the RegistrationID is null?

Ideally, I'd like to hide all controls on the view and show a different control with an feedback message.

Sort of like a web page, if(registrationid.hasvalue) { divDetails.visible = true; divError.visible = false; } else { vice versa }

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk