get ticket and save to mdb