Didn't any of you consider looking at the online help? :-)
Both RecordRef.SETVIEW and RecordRef.GETVIEW supports using field numbers.
You'll quickly get the syntax by messaging RecordRef.GETVIEW(FALSE) of a recref with filters.

A prettier solution could be to use KeyRef and FieldRef and set the individuel filters just like you would do with a Record.