Forum:ME1 Dating Ashley and having complete codex

Hello people, topic says it all. I need to know if it is possible to get all codexes (including secondery codex Asari: Biology) and still having romance with Ashley. Is it only obtainable when pursueing a relationship with Liara or is there other way on how to get it (if someone found it)? Or if it's possible to keep pursueing romance with Liara until I get the codex and then start dating Ashley? I manage to get Asari: Religion before completing Feros or Noveria but sadly I have lost this save and can't remember how I did it. I also got other dialog based codexes that I should got after two main missions like Quarians: Law and Defence / Religion, Turian: Biology ect. So if someone can help me, please help. Thank you in advance.