I have a search form with 12 checkboxes (= 12 months), and another form which displays the search results. On the display form, I'd love to display only the months that have been ticked on the search form and hide the others.
Now comes the questions of layout - how can I move/shift the visible textboxes so that there're no holes/blank spaces on the display form?
Here's the code snippet of what I've got so far, but there's an error there:
Expand|Select|Wrap|Line Numbers
- If Me("ck" & i).Value Then
- Forms!FrmAusgabe_Monat("txt" & i).Visible = True
- Else
- Forms("FrmAusgabe_Monat").Controls("txt" & i).Visible = False
- End If
Thanks a lot in advance,
OfficeDummy