You can’t use dot notation with variables. This has been asked before. Check this out: Record Collection - Dot Notation