July 16, 200421 yr Go to layout (leftValues(get(scriptParameter);1)) Does anyone know why this script step doesn't work? I have tested and pretty sure that leftValues(get(scriptParameter);1) returns the exact layout name that the script step "Go to Layout, layout name by calculation" supposed to display. It simply doesn't go there at all. Very strange
July 16, 200421 yr I haven't used this, but reading the help, it looks like LeftValues gets values from a list separated by carriage returns, and I believe script parameters are passed as single strings. Try LeftWords instead, or perhaps try manually inserting the paragraph marker as your parameter delimiter while using LeftValues. Dan
July 16, 200421 yr Author I need to use leftValues because I passed 2 parameters, one is the layoutName to go to and the other is the accessPrivilege for that account. I found the solution for the problem. Apparently leftValues also includes the carriage return. That's why it didn't work before. This is the script: Go to layout ( Substitute(LeftValues(Get(ScriptParameter);1);
Create an account or sign in to comment