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

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

Recommended Posts

  • Newbies
Posted

I am wondering if anyone knows what the fastest way to perform calculations are: See Example 1 vs 2: box1= (DayOfWeek(Date(month,1,year))=1,1,"")

box2 is related to box 1

box2= Case(DayOfWeek(Date(month,1,year)=1,2, DayOfWeek(Date(month,1,year)=2,1,"").

My question is would it be faster to use this box2= Case(box1,2, DayOfWeek(Date(month.1.year))=2,1,"")

I will have a db of over 800 fields most of which are calculations so I need fastest possible!!

Posted

Did you leave out an "If" in the description of box 1? I have heard that Case() statements are faster than If() statements, but before I based a complicated design on this conclusion I'd build a test file and do an experiment.

-bd

[This message has been edited by LiveOak (edited January 06, 2001).]

Posted

I update (new version) all my files - 52 related files with approx. 3600 fields - 2800 are calc fields - 60000 records in two of them.

I change all the 'If' statements in 'Case'.

This give more possibitys. Very easy to use.

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