rbbakeriii
New Member
- Joined
- Jan 19, 2017
- Messages
- 9
I am trying to create an AR Aging report in MS Access and I am having some issues with the If statement -- The [TERM_NET_DAYS] gives me the terms for the invoice (30, 60) but if the Invoice is COD, it returns a blank. So I am trying to make the [DUE_DATE] field = The [Invoice_Date] if blank
DUE_DATE: IIf(IsNull([dbo.RECEIVABLE].[TERMS_NET_DAYS]),[INVOICE_DATE],[INVOICE_DATE]+[dbo_RECEIVABLE].[TERMS_NET_DAYS])
I am getting the following error...
" is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long
I have no clue why that error is popping up, I thought it might be due to another field I have, but the Query runs fine if I remove it.
DUE_DATE: IIf(IsNull([dbo.RECEIVABLE].[TERMS_NET_DAYS]),[INVOICE_DATE],[INVOICE_DATE]+[dbo_RECEIVABLE].[TERMS_NET_DAYS])
I am getting the following error...
" is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long
I have no clue why that error is popping up, I thought it might be due to another field I have, but the Query runs fine if I remove it.