Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi,

 

This calculation stopped working for some reason.

 

ValueCount ( WindowNames ( Get ( FileName ) ) ) > 1

 

I clearly see; and count two open windows on the datafile ...

 

So I put this: ValueCount ( WindowNames ( Get ( FileName ) ) ) in a message box to see the results and I get "0".

 

Huh ...??? Odd ???

 

Can anybody help me here.  It was working, I would not have used this in my script if it didn't work ... and all the forum post say to use the above calculation to count open windows on the datafile.

 

Anyway, any guidance would be grateful.

 

Thank you.

 

Tom :-)

Posted

Hi,

 

I just figured it out what we've been doing wrong.  We have been testing the solution, and we would copy the datafile and change the file name slightly each time we started a new test ... 

 

FileName (Mar13.1Tst2a) 

 

Apparently, this file name was ignored yielding a ZERO count in the calculation.  Was it the parentheses ??

 

Anyway, thank you.

 

Tom :-)

This topic is 4298 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.