G
Guest
Hi guys
When i click a button on this subform, I would like the last row of a
listbox called "listnotes" on the parent form to be selected. So in the
onClick of the button on the subform i put;
Me.Parent.ListNotes.Selected(Me.Parent.ListNotes.ListCount) = True
... but.....it........doesnt work.
Any suggestions?
Jeff
PS:
(I sperated the code into two lines, and each line worked well on its own;
Me.Parent.ListNotes.Selected(5) = true (selected row 5)
temp = Me.Parent.ListNotes.ListCount (temp returned the correct number of
rows)
When i click a button on this subform, I would like the last row of a
listbox called "listnotes" on the parent form to be selected. So in the
onClick of the button on the subform i put;
Me.Parent.ListNotes.Selected(Me.Parent.ListNotes.ListCount) = True
... but.....it........doesnt work.
Any suggestions?
Jeff
PS:
(I sperated the code into two lines, and each line worked well on its own;
Me.Parent.ListNotes.Selected(5) = true (selected row 5)
temp = Me.Parent.ListNotes.ListCount (temp returned the correct number of
rows)