Lookup a table row by comparing a text attribute?

Say I want to change an actor attribute's value, and the value I want is in a table. Instead of using the look-up row#, can I rather have it determine which row to use by finding a matching value within in column 1?

For example:
If my actor has an text attribute value, say self.code=3XW; I want to find 3XW in my table, then reference that row.

using: tableCellValue(table,row,col)
I don't want to say row=3, I want to say row=3XW (whatever row that happens to be)

So somthing like, 'Change attribute self.CodeReport to tableCellValue(table.codebook,self.code,2)

Comments

Sign In or Register to comment.