Form calls the user edit routine with the type parameter equal
to U_QUERY when form enters QUERY mode. All the other parameters
passed to the user edit routine are NULL. Your user edit routine is called
when the operator presses the QUERY FIRST or QUERY LAST key.