Identify source of Launch Form Options

Does anyone know off the top of your head, can you identify the source of a Launch Form Options value? I have two fields I want to be able to receive a value to but I’d need to know where it’s coming from to make sure I fill the correct field.

Well that was a fun little game. I found my answer in Object Explorer. I’ve looked at that a hundred times and never noticed the LaunchFormOptions node in the tree. Woohoo!

LaunchFormOptions.Like 

contains the TableName.ColumnName that you would be familiar with if creating a new Context Menu like JobHead.JobNum or Part.PartNum.

There is also:

LaunchFormOptions.Sender

which returns an object that if you cast to string it will tell you the name of the form that sent the LFOs.