Check out this sample table that ships with JMP.
sas offices.jmp in the sample data folder
It might not be obvious, but the pictures have links as well. You can use the red triangle to save the script (perhaps without row data!) to see how you might script it. It is easier to use the GUI to study the Event Handler script. This example has slightly more complicated scripts to drive the google maps. @sheila_loring
Craige