i have a database that keeps giving me the error The specified field [Tester_Info.TNR CC_Reg_Date] could refer to more than one table in your from clause. I have tried everything and can't figure it out. I have a command that runs macro and a query that creates generates the data in the form here is some of my code PLEASE HELP.
Macro:
Here is the query:
Read more: ** Edit ** Illegal link to alternative forum removed as per site rules.
Macro:
Code:
Case 2 stLinkCriteria = "([CalExpires]>Now()) And ([Tester_Info.TNRCC_Reg_Date]>Now())" stLabel = "Current Backflow Tester Information" iColor = 32768
Code:
SELECT Tester_Info.TesterID, ([LastName] & ", " & [FirstName]) AS Tester, Tester_Info.TNRCC_Reg_Date AS State, Calibration_Dates.Calibration_Date, ([Calibration_Dates]![Calibration_Date]+365) AS [Good Until] FROM Tester_Info INNER JOIN Calibration_Dates ON Tester_Info.TesterID = Calibration_Dates.TesterID WHERE (((Tester_Info.TNRCC_Reg_Date)>=Now()) AND ((Calibration_Dates.Calibration_Date)<=Now()) AND ((([Calibration_Dates]![Calibration_Date]+365))>=Now())
Comment