I have to use a lot of variations to figure out delivery required dates. I can have only limited number of formulae in the query. Is there a way to put all these conditions in vb and apply the result into a query. Following is an example but these could be up to ten formulae with changes in division, development code etc.
ReqDate3: IIf([Division] Like "*FSL*" And [Devcode] Like "*N*" And [Traderscomp] Is Not Null,DateAdd("d",-77,[builderComp]),IIf([Division] Like "*FSL*" And [Devcode] Like "*N*" And IsNull([Traderscomp]),DateAdd("d",-84,[BuilderComp]),Null))
Will appreciate some help.
ReqDate3: IIf([Division] Like "*FSL*" And [Devcode] Like "*N*" And [Traderscomp] Is Not Null,DateAdd("d",-77,[builderComp]),IIf([Division] Like "*FSL*" And [Devcode] Like "*N*" And IsNull([Traderscomp]),DateAdd("d",-84,[BuilderComp]),Null))
Will appreciate some help.