Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

eliminate null fields

Status
Not open for further replies.

brobb56

Technical User
Sep 26, 2011
3
0
0
US
I have a report were data is

Borrower Report ID Form1 year1

I want the data to be

Borrower Report ID Form1 year1
Borrower Report ID Form2 year2
Borrower Report ID Form3 year3
Borrower Report ID Form4 year4

I do not want borrower and report id to show unless there is data in form 2, 3, or 4.

I can send you a copy of the db to get as better idea. I am a novice so please be kind.
 

What is the query used to generate the report?
Does it include a WHERE clause?


Randy
 
The query is with borrower, report id, year and form all on the same table. It does not contain a where claus.
 
Code:
WHERE Trim([Form] & "") <> "" AND Trim([Year] & "") <> ""
You should probably use better field names because, I believe, Form and Year are reserved words in Access.


Randy
 
The table I use has Borrower and is in relation to another table that has form1, year1, form2, year2, form3, year3, form4, year4. Randy700, where wiould I put the expression you wrote?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top