Create a Function to Call a Form

Create a Function to Call a Form

I'm trying to create a function to call a form and embed in a view so that the user can click on the view (limited columns) to call the form and see all fields in a pop-up.  I'm pretty sure this is possible but I can't seem to figure it out.

How do I create this function?  I don't quite understand how functions and arguments work as there is little information that can help a beginner understand the creation of functions in the help section.

Dan