# Getting \parencite to print out (<author>, <year>) when using biblatex-apa

I'm using BibLaTeX-apa to cite references, but I'm having trouble getting a citation to print out (, ) when I reference to it in the main text. I'm using the \parencite command as is advised on the first page of the biblatex-apa-test documentation and what I get is ( ), that is, without the comma.

I've been trying to write a minimal example but I haven't figured out how to create database within the document so the example I provide uses my own database.

\documentclass{article}
\usepackage[bibstyle=apa, style=authoryear]{biblatex}
\usepackage[american]{babel}
\usepackage{csquotes}
\DeclareLanguageMapping{american}{american-apa}
\begin{document}
Test \parencite{Lamme2006}.
\printbibliography
\end{document}

-

Styles are applied in the order they are set. Looks like you want apa for both the bibliography and citation styles so just use style=apa instead of bibstyle=apa,style=authoryear.
@Speldosa style sets both the citation and bibliography styles. Why not just use style=apa instead of bibstyle=apa, style=authoryear? –  Audrey Aug 19 '11 at 15:59
@LianTze The styles are applied in the order they are specified. So setting style=authoryear afterward undoes the edit you suggested. –  Audrey Aug 19 '11 at 16:05