G
Guest
I have an append query that is dropping an entire field. It says it has "set
to null due to a type conversion." The query has 4 fields in it that match
the table names. The four fields are all number fields in the tables they
come from that are lookup fields that return a text value. Three of the
fields append just fine, but the fourth one does not. I've gone over and
over the original lookups in the tables they come from - they're all set the
same way. The SQL code is:
INSERT INTO ScheduleTbl_Test ( WorkInstr, Function, ProcessID, Manager )
SELECT WorkInstrTbl.WorkInstruction AS WorkInstr, ProcessTbl.Function,
WorkInstrTbl.Process AS ProcessID, FunctionTbl.Manager
FROM FunctionTbl RIGHT JOIN (ProcessTbl RIGHT JOIN WorkInstrTbl ON
ProcessTbl.ProcessID = WorkInstrTbl.Process) ON FunctionTbl.FunctionID =
ProcessTbl.Function
WHERE (((WorkInstrTbl.Process) Is Not Null));
The failure is on the WorkInstr field.
to null due to a type conversion." The query has 4 fields in it that match
the table names. The four fields are all number fields in the tables they
come from that are lookup fields that return a text value. Three of the
fields append just fine, but the fourth one does not. I've gone over and
over the original lookups in the tables they come from - they're all set the
same way. The SQL code is:
INSERT INTO ScheduleTbl_Test ( WorkInstr, Function, ProcessID, Manager )
SELECT WorkInstrTbl.WorkInstruction AS WorkInstr, ProcessTbl.Function,
WorkInstrTbl.Process AS ProcessID, FunctionTbl.Manager
FROM FunctionTbl RIGHT JOIN (ProcessTbl RIGHT JOIN WorkInstrTbl ON
ProcessTbl.ProcessID = WorkInstrTbl.Process) ON FunctionTbl.FunctionID =
ProcessTbl.Function
WHERE (((WorkInstrTbl.Process) Is Not Null));
The failure is on the WorkInstr field.