DoCmd.RunSQL ("INSERT INTO [history] SELECT * FROM [lot] WHERE [Lot_Number]= " & Me.Lot_Number)
I'm weak with SQL so I need a bit of help. All I want to do is copy a record from table lot to table history. I am doing this from a command button on a form.
The command I have above copies all records from table lot to table history instead of just the current record I am on.