Doubt this is the problem but your code doesn't look right to me. Did you say you were trying to move a record from one db into an identical table in another db? SO would expect to see something like:
db1 = DAL(... db2 = DAL(... row = db1.joke(jokenum) db2.joke.insert(**row.as_dict())

