I m having 2 forms, "frmApp" and "frmRes".
In frmapp i have 2 combo box, cboProb and cboMVS.
If i make the selection "Applications MVS" from cboProb, then cboMVS becomes visible, this box is put on visible false by default.
Then i can click the buton resolution and it opens the new form "frmRes" with a text box as a title. If the selection in cboProb it's different from "applications MVS" then i want it to appear in the title, if the selection is "applications MVS" i want the title to be the selection i chose from cboMVS.
This is what i ve tried so far:
Private Sub Form_Open(Cancel As Integer)
If [Forms]![frmApp]![cboMVS].Visible = True Then
Text0.Text = [Forms]![frmApp]![cboMVS].[Column](1)
Else
Text0.Text = [Forms]![frmApp]![cboTypePb].[Column](1)
End If
Whenever i ckick the buton "resolution" however it gives me the message "Wrong number of arguments or invalid propriety assignment".
Anyone can help me?
Thanks
In frmapp i have 2 combo box, cboProb and cboMVS.
If i make the selection "Applications MVS" from cboProb, then cboMVS becomes visible, this box is put on visible false by default.
Then i can click the buton resolution and it opens the new form "frmRes" with a text box as a title. If the selection in cboProb it's different from "applications MVS" then i want it to appear in the title, if the selection is "applications MVS" i want the title to be the selection i chose from cboMVS.
This is what i ve tried so far:
Private Sub Form_Open(Cancel As Integer)
If [Forms]![frmApp]![cboMVS].Visible = True Then
Text0.Text = [Forms]![frmApp]![cboMVS].[Column](1)
Else
Text0.Text = [Forms]![frmApp]![cboTypePb].[Column](1)
End If
Whenever i ckick the buton "resolution" however it gives me the message "Wrong number of arguments or invalid propriety assignment".
Anyone can help me?
Thanks