HI Patrick
there's no direct option to directly assign the single value of a one-record-recordset to a variable.
You can either perform a SELECT INTO <variable> directly or build a cursor around your statement and assign from the current_row row variable to your work variable.
- Lars