Jalz Posted March 24, 2004 Posted March 24, 2004 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
stanley Posted March 24, 2004 Posted March 24, 2004 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
Jalz Posted March 24, 2004 Author Posted March 24, 2004 Thanks Stanley, You were right, the script got confused with the negative values. Cheers Jalz
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now