transaction handle datatype invalid, must be longword Explanation: You specified a transaction handle to RDB$INTERPRET that was not a longword. User Action: You must use !VAL and a longword variable.