J
Joker via AccessMonster.com
Hello,
I have a make table query I have set up. It ran perfectly yesterday but upon
coming in today it was giving me a Unknown Jet Error. When I clicked help it
brought up "There was a type mismatch when creating a table validation rule
or a CHECK constraint on a column. (Error 3072)."
That error has me really confused. I don't think there is anything in the
query that would result in a type mismatch. I have played with my references
some to no benifit.
The SQL of my query is below.
SELECT DISTINCT fncDueDate(tbl_RemitDays!Frequency,tbl_RemitDays!Days,
tbl_MAIN!Proc_Date) AS [TruDueDate(R)], tbl_RemitDays.Days, tbl_RemitDays.
Frequency, tbl_MAIN.DateImported, tbl_RemitDays.[Inv #], fncDueDate
(tbl_RemitDays!PayoffFreq,tbl_RemitDays!PayoffDays,tbl_MAIN!Proc_Date) AS
[TruDueDate(P)], tbl_MAIN.Payoffs, tbl_MAIN.ScheduledRemit_Day, IIf
(tbl_TrackRegIntRemits!IntRemits Is Not Null,tbl_TrackRegIntRemits!IntRemits,
IIf([Payoffs] Is Null,[TruDueDate(R)],[TruDueDate(P)])) AS TruDD, tbl_MAIN.
PI_Acct_Num, tbl_MAIN.Reporter, tbl_MAIN.Type, tbl_MAIN.[Remit Type],
DateDiff("d",[DateImported],[TruDD]) AS DateDif, tbl_MAIN.Proc_Date INTO
tbl_END_RESULT
FROM tbl_TrackRegIntRemits RIGHT JOIN (tbl_MAIN INNER JOIN tbl_RemitDays ON
tbl_MAIN.[inv#] = tbl_RemitDays.[Inv #]) ON tbl_TrackRegIntRemits.[inv#] =
tbl_RemitDays.[Inv #]
ORDER BY tbl_RemitDays.[Inv #];
Any ideas or thoughts would be GREATLY appreciated. Thanks.
-Joker
I have a make table query I have set up. It ran perfectly yesterday but upon
coming in today it was giving me a Unknown Jet Error. When I clicked help it
brought up "There was a type mismatch when creating a table validation rule
or a CHECK constraint on a column. (Error 3072)."
That error has me really confused. I don't think there is anything in the
query that would result in a type mismatch. I have played with my references
some to no benifit.
The SQL of my query is below.
SELECT DISTINCT fncDueDate(tbl_RemitDays!Frequency,tbl_RemitDays!Days,
tbl_MAIN!Proc_Date) AS [TruDueDate(R)], tbl_RemitDays.Days, tbl_RemitDays.
Frequency, tbl_MAIN.DateImported, tbl_RemitDays.[Inv #], fncDueDate
(tbl_RemitDays!PayoffFreq,tbl_RemitDays!PayoffDays,tbl_MAIN!Proc_Date) AS
[TruDueDate(P)], tbl_MAIN.Payoffs, tbl_MAIN.ScheduledRemit_Day, IIf
(tbl_TrackRegIntRemits!IntRemits Is Not Null,tbl_TrackRegIntRemits!IntRemits,
IIf([Payoffs] Is Null,[TruDueDate(R)],[TruDueDate(P)])) AS TruDD, tbl_MAIN.
PI_Acct_Num, tbl_MAIN.Reporter, tbl_MAIN.Type, tbl_MAIN.[Remit Type],
DateDiff("d",[DateImported],[TruDD]) AS DateDif, tbl_MAIN.Proc_Date INTO
tbl_END_RESULT
FROM tbl_TrackRegIntRemits RIGHT JOIN (tbl_MAIN INNER JOIN tbl_RemitDays ON
tbl_MAIN.[inv#] = tbl_RemitDays.[Inv #]) ON tbl_TrackRegIntRemits.[inv#] =
tbl_RemitDays.[Inv #]
ORDER BY tbl_RemitDays.[Inv #];
Any ideas or thoughts would be GREATLY appreciated. Thanks.
-Joker