Hi, this code inserts some values from tblWorkItem(first tab page) into tblReactiveWorkPoList (second tab page). The code worksas expected but if I add in fields "Supplier" and"OrderNumber" the code fails i.e. doesn't copy the records over totblReactiveWorkPoList.No error messagesappear. Both "Supplier" and "OrderNumber" are text fields.
Before adding the fields I have this:
CurrentDb.Execute "INSERT INTOtblReactiveWorkPoList(ClientID, Address, AssetNumber, DescriptionOfWorks,InstructionReceived) VALUES(" & Me!ClientID & ", '"& Me!Address & "', '" & Me!AssetNumber & "', '"& Me!Description & "','" & Me!InstructionReceived &"')"
Forms!frmReactiveTracker.frmReactiveWorkPoList.Req uery
After adding the fields I have this:
'CurrentDb.Execute "INSERT INTOtblReactiveWorkPoList(ClientID, Address, AssetNumber,DescriptionOfWorks,InstructionReceived , Supplier, OrderNumber ) VALUES(" & Me!ClientID &", '" & Me!Address & "', '" & Me!AssetNumber& "', '" & Me!Description & "','" &Me!InstructionReceived & "','" & Me!SUPPLIER & "','"& Me!OrderNumber & "')"
Any offers of help please‼‼‼‼! ???????????