GetLineNumber() is written to be used within a form, not from a query.
In your suform, add a text control to the form for the line number and set its controlsource to:
=GetLineNumber(Form,"dfID",[dfID])
JimD.