I added a pmt expression to a query. This query is linked to Access through excel as a pivot table. When I tried to update my pivot table, I get a mismatch expression error. I verified the values the expression is referring to are indeed values. I scrolled through my data and could not find any non values. The field value is rounded to 2 decimals. Any ideas on what is causing this? Below is the SQL view. I have tried adding a ISNULL and ISNUMERIC constraint with no success. Not sure what to do.
SELECT [Loan Number], SSN, [Loan Date], [Loan Amount], Payments, APR, [Current Loan Date], [Store ID], [Store Number], [Current Balance], [Due Date2], [Last Pay Date], [Last Pay Amount], Region, [True Last Payment], [# Days Since Last Payment], [Interest Accrual for Period], [Total Accrued Interest], [Portfolio Balance], [Field Status], [CFO Status], DateSerial(Year([Loan Date]),Month([Loan Date])+1,0) AS Pool, [CRS Date] AS [Checkpro Write Off Date], [WRT OFF $], [CCFI Funded], [Month End], [Write Off Month End], [Confirmed Type-Checkpro] AS Type, [SSN] & Format([Loan Number],"00000") AS [Format], IIf([CFO Status]="PIF",[Loan Amount],0) AS [Paid In Full], Pmt([APR]/100/12,[Payments],[Loan Amount],0,0) AS Contract_Payment
FROM [Loan Master Data];
SELECT [Loan Number], SSN, [Loan Date], [Loan Amount], Payments, APR, [Current Loan Date], [Store ID], [Store Number], [Current Balance], [Due Date2], [Last Pay Date], [Last Pay Amount], Region, [True Last Payment], [# Days Since Last Payment], [Interest Accrual for Period], [Total Accrued Interest], [Portfolio Balance], [Field Status], [CFO Status], DateSerial(Year([Loan Date]),Month([Loan Date])+1,0) AS Pool, [CRS Date] AS [Checkpro Write Off Date], [WRT OFF $], [CCFI Funded], [Month End], [Write Off Month End], [Confirmed Type-Checkpro] AS Type, [SSN] & Format([Loan Number],"00000") AS [Format], IIf([CFO Status]="PIF",[Loan Amount],0) AS [Paid In Full], Pmt([APR]/100/12,[Payments],[Loan Amount],0,0) AS Contract_Payment
FROM [Loan Master Data];