Re: [nmsinc] Exclusion of records listed based upon felid choice
It does help, I think.
I'm not sure how
One approach would be to use a simple if statement as a criteria screen.
Something like:
<?php foreach ($your_tableRecords as $record): ?>
<?php if (!$record['your_field'] == "Finished"): ?> ...your code...
<?php endif ?>
<?php endforeach; ?>
Or
<?php foreach ($your_tableRecords as $record): ?>
<?php if ($record['your_field'] == "Received"): ?> ...your code for action 1...
<?php elseif ($record['your_field'] == "In Route"): ?>...your code for action 2...
<?php elseif ($record['your_field'] == "Working"): ?>...your code for action 3...
<?php else: ?> ...your code for action 4...
<?php endif ?>
<?php endforeach; ?>
If that doesn't quite fit the bill, there's a lot more on If statements in my CMSB cookbook at
http://www.thecmsbcookbook.comHope that helps sort things out.
Jerry Kornbluth
The first CMS Builder reference book is now available on-line!
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php