I seem to have some success when I used the Onpage Event. I really
did not know what it was for.
I have the text box in the header of the page but I have display the
data the way I want to.
Details:
I open the report which opens a form. This form has search
fields(unbound but name txtMaterial txt oldMaterial). When you make
your choices then click a button I pass the data to the report via a
query. I can display the fields on the report but I want is an
formatted sort of way. I'm wanting to use an IF statement to see if
the field is empty and if it is not then add some text and space to
the field to display.
Any other suggestions?
On Mon, 19 Jan 2004 21:35:24 GMT, Salad <oi*@vinegar.com> wrote:
"N. Graves" wrote:
Hello, Please help me I'm still a newbie.
I have an unbound text box on a report that I would like to build a
expression to display it on the report. Something like
txtboxSearchCriteria = [Forms]![frm_PartsSearch]![txtMaterial] in the
OnPage Event and sometime this will work and sometime it will not.
Is there a better simpler way?
Norris
Why not put that text bos either in the report header (prints once) or
the page header (prints every page) and forget the OnPage code?