What is the syntax for setting Link Master Fields from VB?

rovolution2

Registered User.
Local time
Today, 09:18
Joined
Jul 29, 2008
Messages
20
Hello again.

I am trying to set the values for a Link Master Field of a Microsoft Graph (Not PivotChart) based on whether or not the current values in two comboboxes are equal to on another.

Here is the code i have right now:

Private Sub SelectAW_AfterUpdate()
If Me.SelectProg.Column(0) <> Me.SelectAW.Column(0) Then
Me.Graph10.Visible = False
End If

If Me.SelectProg.Column(0) = Me.SelectAW.Column(0) Then
Me.Graph9.LinkMasterFields = "Sustainment", "13"
End If


End Sub






but it keeps raising an error.


What is the proper syntax for setting the linkMasterFields through this method?
 

Users who are viewing this thread

Back
Top Bottom