I'd like to detect whether ast_load_realtime returns an error vs just didn't find the record in question. Both conditions return NULL. I could, I guess, perform a query that I know will succeed upon getting a NULL back, but that seems inelegant. Norman Franke myASD.com