PDA

View Full Version : [SOLVED:] MultiPage



Kaizer
01-05-2005, 07:09 AM
Hi there,

I have a multiPage on a Form. page0=frmWorking.mpgeWorking.Pages(0) of this multiPage contains a listBox. The listBox is filled based on the parameter. When I select other page1=frmWorking.mpgeWorking.Pages(1) and then return back to the page0 I need to clear the listBox. What would be the code of clearing the lstBox on selecting page0?

Thank you in advance.

Jacob Hilderbrand
01-05-2005, 07:30 AM
Try this. Adjust the names as needed.


Option Explicit

Private Sub MultiPage1_Change()
If Me.MultiPage1.Value = 0 Then
Me.ListBox1.Clear
End If
End Sub

Kaizer
01-05-2005, 07:57 AM
Jacob,

Again, thanks for your help.

I was looking for such a forum for quite a long time. Found it through google when posted my search criterias as something on treeview.nodes.

Thanks a lot for your prompt replies.

Jacob Hilderbrand
01-05-2005, 05:37 PM
You're welcome :)

Take Care