Success. Wow learnt a fair bit tonight. learnt where to put sql into a query, and that code above works. final solution turned out as:
select "COD" & format(right(max([orderNumber]),4) +1, "0000") AS expr1 From tblorder.
Access added [] and AS expr1.
Can know populate form field with answer on...