This is the code I have and I am not sure why it doesnt work
Insert INTO TEventGolfers (intGolferID, intEventID) Values((Select MAX(intGolferID) From TGolfers),4) I want to insert 4 as the EventID and the max golfer id from the table TGolfers as the foreign key golfer id in the EventGolfers Table