I can't get simple DbLookup formula working with a variable. I have a view with employees and their managers, i get unique managers' records with DbColumn and then i need a list of people managed by this person
pms=Evaluate({@Unique(@Dbcolumn("":"";"":"";"admin";3))})
ForAll pm In pms
result = Evaluate({@DBlookup("":"";"":"";"admin";} & pm & {;1)})
this doesn't work, i have also tried using vertical bars and additional quotation marks around pm but i keep getting either type mismatch or execution failed errors
result = Evaluate({@DBlookup("":"";"":"";"admin";} & "keyword" & {;1)})
this works fine