Tabular Caption?
You need to provide a table
environment that encases the tabular
environment as well as the \caption
and \label
statements.
% \documentclass statement and preamble
\begin{document}
\begin{table}
\centering
\begin{tabular}{|l|r|r|r|r|r|r|}
% body of tabular environment
\end{tabular}
\caption{This is my one big table} \label{tab:sometab}
\end{table}
\end{document}
P.S If you want to add the table inside your own .text file you don't need to use these:
\begin{document}
\end{document}