As said the coolant loss is whats wrong you need to find where it's leaking a code will not help with this problem as it's a mechanical problem, you are correct you hold down millage trip and turn ignition on carry on holding down you will enter self diagnostics (Gauge sweep will be performed, Will reset trip but nothing major) you then cycle through by pressing trip until you see DTC here a code may be displayed.
Martin