selecting listbox items

  • Thread starter JML via AccessMonster.com
  • Start date
J

JML via AccessMonster.com

I have a listbox that when selecting item/items, it prints it on a report,
unselected items won't be printed but it would leave space.

For ex.

item 1 - selected
item 2 - selected
item 3 - not selected
item 4 - not selected
item 5 - selected

so in print report, it should print the selected ones, and leave the not
selected a blank space

item 1
item 2
<blank>
<blank>
item 5

I understand that you can filter the selection in a listbox but It would
print only as w/o the blank space.

item 1
item 2
item 5

I want to leave spaces for the unselected items. How should I do it?
 
K

KARL DEWEY

Try using IIF statement with a space as output -- IIF([YourItem] Is Null, "
", [YourItem])
 

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