Help to popuplate a dashboard using combo (1 Viewer)

aftab1965

Registered User.
Local time
Tomorrow, 02:03
Joined
Jan 12, 2016
Messages
48
Hi.Friends
database file is hereby attached for easy reference. plz guide me

Im new and having a basic level knowledge of VB. I am facing a problem to make a dashboard. I used a command button. "After click" event following coding were used

Private Sub Command2_Click()
Me.FormValue.Value = 1
Me.cbosource.RowSource = "SELECT[source].[formname] FROM" & _
" Source WHERE Formvalue = " & Me.FormValue & _
" Order By formvalue"

after click event my combobox shows correct value. i used following after click event code on combobox

Private Sub cbosource_AfterUpdate()
If Me.cbosource.Value = "" Then
End
Else
Me.Child6.SourceObject = Me.cbosource
End If
End Sub

where child6 is a subform on my dashboard.

but after click combo box event is not populating my subform.
database file is hereby attached. plz guide me
 

Attachments

  • Dashboard.accdb
    512 KB · Views: 178

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 06:03
Joined
May 7, 2009
Messages
19,245
here is your dashboard.
 

Attachments

  • newDash.zip
    32.2 KB · Views: 173

Users who are viewing this thread

Top Bottom