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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a count of records formula? 1

Status
Not open for further replies.

deb18

Programmer
May 19, 2003
40
US
I would like to have a text field that prints if the query returns no records.
Is there a way to test for this?
If I use the count function it returns 1 if there is 1 record but if there are no records it doesn't seem to return anything.
 
You should be able to use a formula like:

if isnull({table.ID}) then "No Records" else ""

where {table.ID} is a field which appears with each record.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top