Jump to content

Is there a better way?


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

Recommended Posts

Have been searching on FM Forums but can't find what I'm after. I'm using a DB with a lot of documents in it and are using a single button to open the relevent document when I want to view it. Currently the script is:

If [Documents::Name = "Doc1"

Open File ["Doc1"]

Else If [Documents::Name = "Doc2"

Open File ["Doc2"]

Else If [Documents::Name = "Doc3"

Open File ["Doc3"]

End If

With 200 plus documents it's going to be a very long script!

Many Thanks

Link to comment
Share on other sites

This topic is 4414 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
 Share

×
×
  • Create New...

Important Information

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