FileMaker Layouts based on login name
I'm not sure why I can't get this work for me and I'm hoping you can help. I have 2 layouts based on the same tables, etc. One layout is for customers and one is for technicians. I have a script on first login that says:
If [Get (AccountName) = "(tra)"]
Go to layout ["RepairFromIpad" (RepairForm)
Go to layout ["RepairFormIT" (RepairForm)
Is this the correct syntax to load a layout based on account name?