K
kevcar40
i am trying to write a formula that checks for the day of the week
([yellow pages hours 31days].Form!text82="Sat"
i then want to check the score from the night shift
[yellow pages night Scores 31days].Form![5]=0
if the result is Sat and score =0 i want to add days hours(text217] to [text697]
if the result is Sat and score <> 0 i want to add days hours(text217] to [text514]
if the result is <> Sat and score 0 i want to add days hours(text217] to [text514]
formula i trying
IIf([yellow pages hours 31days].Form!text82="Sat" And [yellow pages night Scores 31days].Form![5]=0,([Text217]+[Text697]),([Text514]+[Text217]))
([yellow pages hours 31days].Form!text82="Sat"
i then want to check the score from the night shift
[yellow pages night Scores 31days].Form![5]=0
if the result is Sat and score =0 i want to add days hours(text217] to [text697]
if the result is Sat and score <> 0 i want to add days hours(text217] to [text514]
if the result is <> Sat and score 0 i want to add days hours(text217] to [text514]
formula i trying
IIf([yellow pages hours 31days].Form!text82="Sat" And [yellow pages night Scores 31days].Form![5]=0,([Text217]+[Text697]),([Text514]+[Text217]))