Condition to show the details area

J

JeffH13

Is it possible to place a condition on the details area of an report. Like
if this 'Required Quantity' field is larger than this 'Instock Quantity'
field then show detail area if not hide area.

Thanks for help....
 
M

Marshall Barton

JeffH13 said:
Is it possible to place a condition on the details area of an report. Like
if this 'Required Quantity' field is larger than this 'Instock Quantity'
field then show detail area if not hide area.


Easy. Just use some VBA code in the detail section's Format
event procedure:

Cancel = (Me.[Required Quantity] <= [Instock Quantity])
 

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