I am wanting to open a file that is defined by fields in the table that is located on a file share form within the grid.

I can't seem to figure out how to create a script that will do this from a grid record.

I've also been going crazy updating a grid record where a a5 function is called to get the logged on user.

Basically I want to be able to do this in a web component:

As a user keys data, a function will run that will update a field in the same detail with the logged on username (this is from the a5 desktop user names with security enabled)

A function that will compose a file name from different columns in a grid and open it with the respective program like sys_open()

I need to be able to replace the variable wow with the signed on user

var wow='og';

and open a file from a name in the record.