Getting a value from a local table

I am in a local table called table1.
The user puts an X in the Extra4 field of table1. The table has a unique row number in row7.
I would like to know how to put the value of row7 where Extra4 = "X" into local storage with a name of mrow7.
How I do this?