Rob 7 Collins Posted June 20, 2005 Posted June 20, 2005 I have a script tht needs to access items from a value list. For some reason it is not doing that. In my script I have this, to access the value list items: Substitute ( MiddleValues ( ValueListItems ( Get ( FileName ) ; "vlAnyOf" ) ; GetAsNumber ( RightWords ( Get ( ScriptParameter ) ; 1 ) ) ; 1 ) ;
Rob 7 Collins Posted June 20, 2005 Author Posted June 20, 2005 I decided to write up a sample database to post, for this problem. It worked ... turns out it was the filename that was the problem. The filename for the real file has a period in it. To work around this, you must use: Get (FileName ) & ".fp7"
Vaughan Posted June 20, 2005 Posted June 20, 2005 I'd be changing the file names to remove all periods and spaces, rather than adding the extension to the calculation.
Recommended Posts
This topic is 7098 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now