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

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

Recommended Posts

Posted

Hi,

Im working on a database which will eventually be cross platform. I have a script step which is:

If (Status(CurrentPlatform)=1)

Do the Mac Script

Else

Do the PC Script

End If

Im working with FM pro 6 and myclients have both mac os9/10 and windows 98/xp/2000 machines, what am I doing wrong? Im testing in OSX.3

Thanking all in advance

Posted

Jalz:

The problem you're having is that OSX comes up as "-1", while OS9 is "1"... To get the test result to work for both OSX and OS9, you've got to set it to look for an absolute value "1", which will get you a positive in both cases...

-Stanley

Posted

Thanks Stanley,

You were right, the script got confused with the negative values.

Cheers

Jalz

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