How is c_user defined? That c is a naming convention for a calculation field. I'd define a text field in Records that auto-enters the creator's account name.
If so, I don't see any need for the gCurrentUser field. (Any time that you need the name of the current user's account, just use Get ( AccountName )). You could setup a lock expression for the Records table in Manage | Security that reads like this:
Get ( AccountName ) = user
To control access to the artist table on a record by record basis.
Your script works to find the right record(s) on the artist table. If you walk through the steps each step set's up a find request just like you would manually and then finds the artist record(s) with that account name.