thanks for the reply
this does the job
runs first...
DoCmd.RunSQL "INSERT INTO clientservices ( serviceid, stuid, orgid ) VALUES
( " & serviceid & ", " & stuid & "," & orgid & " )"
then this....
DoCmd.RunSQL "INSERT INTO invoice ( clientid, [date], total ) SELECT
Max...