J
JOM
I would like to add the following statement in my query but an error pops up
to say that my query is too long therefore it was truncated.... How will I
solve this!
***********************************************************
DCount("*","Holidays","HolidayDate Between " &
Format$([RqstDateRcvd],"\#mm\/dd\/yyyy\#") & " And " &
Format$([TxDocDateRcvd],"\#mm\/dd\/yyyy\#") & " And Weekday(HolidayDate, 1)
<> 1 " & " And Weekday(HolidayDate, 1) <> 7 ")
************************************************************
CompOnTime:
IIf([tblTaxDoc]![TaxDocStatus]="Complete",(IIf((([tblTaxDoc]![TaxDocName]="W2"
Or [tblTaxDoc]![TaxDocName]="1099") And
DateDiff("d",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd])-DateDiff("ww",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd],7)-DateDiff("ww",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd],1)<=10)
Or ([tblTaxDoc]![TaxDocName] In ("1040","1065","1120") And
DateDiff("d",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd]-DateDiff("ww",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd],7)-DateDiff("ww",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd],1))<=2),"OnTime","OutStd")))
to say that my query is too long therefore it was truncated.... How will I
solve this!
***********************************************************
DCount("*","Holidays","HolidayDate Between " &
Format$([RqstDateRcvd],"\#mm\/dd\/yyyy\#") & " And " &
Format$([TxDocDateRcvd],"\#mm\/dd\/yyyy\#") & " And Weekday(HolidayDate, 1)
<> 1 " & " And Weekday(HolidayDate, 1) <> 7 ")
************************************************************
CompOnTime:
IIf([tblTaxDoc]![TaxDocStatus]="Complete",(IIf((([tblTaxDoc]![TaxDocName]="W2"
Or [tblTaxDoc]![TaxDocName]="1099") And
DateDiff("d",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd])-DateDiff("ww",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd],7)-DateDiff("ww",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd],1)<=10)
Or ([tblTaxDoc]![TaxDocName] In ("1040","1065","1120") And
DateDiff("d",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd]-DateDiff("ww",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd],7)-DateDiff("ww",[tblBorrower]![RqstDateRcvd],[tblTaxDoc]![TxDocDateRcvd],1))<=2),"OnTime","OutStd")))