Hey guys,
i am currently working on a access database where I get on my calculations always this "too complex" message! The Problem why i get this is that the querries access on another querry, which is a little bit too complicated (I think)! I have a Start and a Enddate and between a lot of periods, which could be monthly, quarterly, semi-annual or annual! besed on this, I want to know, which period is currently (date entered in a form) is activ...i tried this with (and also "works"):
CurrentPeriod: IIf([period2diff]<1,[period1diff],IIf([period3diff]<1,[period2diff],IIf([period4diff]<1,[period3diff],IIf([period5diff]<1...
This is based on another querry which has the required differences between the startdate and the current that. It could be that there are 30 periods per primary-key.. so it gets for access a little bit to much...the calculation behind need "hours" to complete! I am currently not very skilled in vba...i can interpret and adapt a bit and thats it...maybe there is someone who has exact calc. done before or could solve this prob in a few minutes! many thanks in advance...
Greets, Martin
i am currently working on a access database where I get on my calculations always this "too complex" message! The Problem why i get this is that the querries access on another querry, which is a little bit too complicated (I think)! I have a Start and a Enddate and between a lot of periods, which could be monthly, quarterly, semi-annual or annual! besed on this, I want to know, which period is currently (date entered in a form) is activ...i tried this with (and also "works"):
CurrentPeriod: IIf([period2diff]<1,[period1diff],IIf([period3diff]<1,[period2diff],IIf([period4diff]<1,[period3diff],IIf([period5diff]<1...
This is based on another querry which has the required differences between the startdate and the current that. It could be that there are 30 periods per primary-key.. so it gets for access a little bit to much...the calculation behind need "hours" to complete! I am currently not very skilled in vba...i can interpret and adapt a bit and thats it...maybe there is someone who has exact calc. done before or could solve this prob in a few minutes! many thanks in advance...
Greets, Martin