I am using MagicalRecord with core data.  

The objects I am dealing with are:

salesPerson 

salesTool - this has a one to many relationship to salesPerson, but also has a season property.  Each season(spring, summer etc) has a value of either 0 or 1.

I am filling a tableView with my view.  The view has a salesPerson property(self.company).  I would like to call the appropriate seasonal salesTools for the salesPerson.  The Predicate I have tried is--

NSPredicate *salesToolFilter = [NSPredicate predicateWithFormat:@"((salesPerson == %@) AND (spring == '0')), self.salesPerson];
NSArray *salesTools = [salesTool MR_findAllWithPredicate:salesToolFilter];
[_dataArray addObjectsFromArray:salesTools];


Unfortunately, this predicate throws an error. 'Unable to parse the format string'  I'm sure this is a simple thing I am doing wrong, but I have yet to figure it out after a couple days and much searching.

Thanks for any help


Question: Create a table that fills a page with empty rows
Answer: David Carlisle has gotten me most of the way to a solution, so I thought I'd post it:

%Page layout here
\documentclass[letterpaper, 12pt,twocolumn]{article}
\usepackage[left= 1 cm, right=1 cm, top = 2 cm, bottom = 1 cm]{geometry}

\newlength\linefillheight % vertical distance between lines
\setlength\linefillheight{1cm}

\newlength\wcolone %first column width
\setlength\wcolone{\dimexpr.125\textwidth-4mm\relax}
\newlength\wcoltwo %second column width
\setlength\wcoltwo{\dimexpr.125\textwidth-4mm\relax}
\newlength\wcolthree % third column width
\setlength\wcolthree{\dimexpr.125\textwidth-4mm\relax}
\newlength\wcolfour % third column width
\setlength\wcolfour{\dimexpr.125\textwidth-4mm\relax}

\newcommand\linefill{\leavevmode
    \rule{\wcolone}{0.4pt}\hspace*{4mm}\rule{\wcoltwo}{0.4pt}\hspace*{4mm}\rule{\wcolthree}{0.4pt}\hspace*{4mm}\rule{\wcolfour}{0.4pt}}

\makeatletter
\def\fillwithlines#1{%
  \begingroup
  \ifhmode
    \par
  \fi
  \hrule height 0pt
  \nobreak
  \cleaders\hbox to \hsize{\hskip \@totalleftmargin
          \vrule height \linefillheight depth 0pt width 0pt
          \linefill} \vskip #1 \hbox{}%
  \endgroup}
\makeatother


\begin{document}

\noindent\begin{minipage}[c][1cm][t]{\textwidth}
\parbox{\dimexpr\wcolone+4mm\relax}{\textbf{\centering Date}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\textbf{\centering User}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\textbf{\centering Amount Used\\mg}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\textbf{\centering Procedure}}%
\end{minipage}

\fillwithlines{\dimexpr\textheight-1cm\relax}

\noindent\begin{minipage}[c][1cm][t]{\textwidth}
\parbox{\dimexpr\wcolone+4mm\relax}{\textbf{\centering Date}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\textbf{\centering User}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\textbf{\centering Amount Used\\mg}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\textbf{\centering Procedure}}%
\end{minipage}

\fillwithlines{\dimexpr\textheight-1cm\relax}
\end{document}


Based on this answer. However, I'd like to be able to centre the column headers and draw a line down the middle, if anyone could help with this. 

some minor tweaks:

\documentclass[letterpaper, 12pt,twocolumn]{article}
\usepackage[left= 1 cm, right=1 cm, top = 2 cm, bottom = 1 cm]{geometry}

\newlength\linefillheight % vertical distance between lines
\setlength\linefillheight{1cm}

\newlength\wcolone %first column width
\setlength\wcolone{\dimexpr.125\textwidth-4mm-1.25pt\relax}
\newlength\wcoltwo %second column width
\setlength\wcoltwo{\dimexpr.125\textwidth-4mm-1.25pt\relax}
\newlength\wcolthree % third column width
\setlength\wcolthree{\dimexpr.125\textwidth-4mm-1.25pt\relax}
\newlength\wcolfour % third column width
\setlength\wcolfour{\dimexpr.125\textwidth-4mm-1.25pt\relax}

\newcommand\linefill{\leavevmode
    \rule{\wcolone}{0.4pt}\hspace*{4mm}\rule{\wcoltwo}{0.4pt}\hspace*{4mm}\rule{\wcolthree}{0.4pt}\hspace*{4mm}\rule{\wcolfour}{0.4pt}}

\makeatletter
\def\fillwithlines#1{%
  \begingroup
    \par
  \hrule height 0pt
  \nobreak
  \cleaders\hbox to \hsize{%
          \vrule height \linefillheight depth 0pt width 0pt
          \hss\linefill\hss} \vskip #1 \hbox{}%
  \endgroup}
\makeatother\showoutput

\setlength\columnseprule{1pt}

\begin{document}


\noindent\begin{minipage}[c][1cm][t]{\linewidth}
\parbox{\dimexpr\wcolone+4mm\relax}{\centering\textbf{Date}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\centering\textbf{User}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\centering\textbf{Amount Used\\mg}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\centering\textbf{Procedure}}%
\end{minipage}

\fillwithlines{\dimexpr\textheight-1cm\relax}

\noindent\begin{minipage}[c][1cm][t]{\linewidth}
\parbox{\dimexpr\wcolone+4mm\relax}{\centering\textbf{Date}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\centering\textbf{User}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\centering\textbf{Amount Used\\mg}}%
\parbox{\dimexpr\wcoltwo+4mm\relax}{\centering\textbf{Procedure}}%
\end{minipage}

\fillwithlines{\dimexpr\textheight-1cm\relax}
\end{document}




In chat you said you wanted single column with 7 headings...

\documentclass[letterpaper, 12pt]{article}
\usepackage[left= 1 cm, right=1 cm, top = 2 cm, bottom = 1 cm]{geometry}

\newlength\linefillheight % vertical distance between lines
\setlength\linefillheight{1cm}
\usepackage[T1]{fontenc}

\newcommand\linefill{\hspace{\stretch{.5}}%
    \rule{.1\textwidth}{0.4pt}\hfill
    \rule{.1\textwidth}{0.4pt}\hfill
    \rule{.1\textwidth}{0.4pt}\hfill
    \rule{.1\textwidth}{0.4pt}\hfill
    \rule{.1\textwidth}{0.4pt}\hfill
    \rule{.1\textwidth}{0.4pt}\hfill
    \rule{.1\textwidth}{0.4pt}\hspace{\stretch{.5}}%
}

\makeatletter
\def\fillwithlines#1{%
  \begingroup
    \par
  \hrule height 0pt
  \nobreak
  \cleaders\hbox to \hsize{%
          \vrule height \linefillheight depth 0pt width 0pt
          \linefill} \vskip #1 \hbox{}%
  \endgroup}
\makeatother

\setlength\columnseprule{1pt}

\begin{document}


\noindent\begin{minipage}[c][1cm][t]{\linewidth}
\parbox[t]{\dimexpr\linewidth/7\relax}{\centering\textbf{Date}}%
\parbox[t]{\dimexpr\linewidth/7\relax}{\centering\textbf{User}}%
\parbox[t]{\dimexpr\linewidth/7\relax}{\centering\textbf{Amount Used\\mg}}%
\parbox[t]{\dimexpr\linewidth/7\relax}{\centering\textbf{Procedure}}%
\parbox[t]{\dimexpr\linewidth/7\relax}{\centering\textbf{User}}%
\parbox[t]{\dimexpr\linewidth/7\relax}{\centering\textbf{Amount Used\\mg}}%
\parbox[t]{\dimexpr\linewidth/7\relax}{\centering\textbf{Procedure}}%
\end{minipage}

\fillwithlines{\dimexpr\textheight-1cm\relax}
\end{document}