Only want to include a field in the record under certain circumsta

  • Thread starter xX Longshank Xx
  • Start date
X

xX Longshank Xx

I am designing a response log database for the fire departmetn I am working
for. I am trying to produce a report and querry in which an "address" field
is displayed based on the "Calltype" field. With HIPPA regulations, an
address cannot be displayed on locations for medical calls to the public but
I must display it for others. Any suggestions?
 
J

John W. Vinson

I am designing a response log database for the fire departmetn I am working
for. I am trying to produce a report and querry in which an "address" field
is displayed based on the "Calltype" field. With HIPPA regulations, an
address cannot be displayed on locations for medical calls to the public but
I must display it for others. Any suggestions?

Try using a calculated field such as

IIf([calltype] = "Medical", Null, [address])

in your query.

John W. Vinson [MVP]
 
M

Marshall Barton

xX said:
I am designing a response log database for the fire departmetn I am working
for. I am trying to produce a report and querry in which an "address" field
is displayed based on the "Calltype" field. With HIPPA regulations, an
address cannot be displayed on locations for medical calls to the public but
I must display it for others.


Use a calculated field something like:

Addr: IIf(CallType=xxx, Null, Address)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top