Post first your schema and code then we can better help you.