I have a problem with tables in TeX. I get different tables using following code in different sections of the document. Some separation lines in the header are missing but always different lines.
\begin{center}
\begin{threeparttable}[H]
\renewcommand{\arraystretch}{1.5}
\begin{tabularx}{\textwidth}{|p{6.5cm}|X|X|X|X|X|}
\firsthline
\rowcolor[gray]{0.8} \textbf{Anforderung }&\textbf{\tnote{1}}&\textbf{\tnote{2} }&\textbf{\tnote{3} }&\textbf{\tnote{4}}&\textbf{\tnote{5} }\\\hline
1.1 SQL"=Injections&0&0,077&0&0,077&0,077\\\hline
\lasthline
\end{tabularx}
\caption{Nutzwerte aller Werkzeuge}
\label{Tabelle:Nutzwerte}
\end{threeparttable}
\end{center}
Thank you for your answers!