It finally adds a record,however, now it  doesn't show a table