Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7098 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

) ;

Posted

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"

Posted

I'd be changing the file names to remove all periods and spaces, rather than adding the extension to the calculation.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.