In VFP 7, I have a combo box called cboAcPayeeType. In the valid event I have the following code. When it tries to execute the first CASE statement, it bombs and says: Property TEXT is not found. There is a value in display in the combo box on the screen.
Any ideas why it does not recognize the text property?
DO CASE
CASE THISFORM.acdlrcltrsearchgui1.text = 'D'
THISFORM.ACmfgrsearchgui2.Visible = .F.
THISFORM.Acdlrcltrsearchgui1.Visible = .T.
CASE THISFORM.acdlrcltrsearchgui1.text = 'M'
CASE THISFORM.acdlrcltrsearchgui1.text = 'R'
THISFORM.Acdlrcltrsearchgui1.Visible = .F.
THISFORM.ACmfgrsearchgui2.Visible = .T.
ENDCASE
Any ideas why it does not recognize the text property?
DO CASE
CASE THISFORM.acdlrcltrsearchgui1.text = 'D'
THISFORM.ACmfgrsearchgui2.Visible = .F.
THISFORM.Acdlrcltrsearchgui1.Visible = .T.
CASE THISFORM.acdlrcltrsearchgui1.text = 'M'
CASE THISFORM.acdlrcltrsearchgui1.text = 'R'
THISFORM.Acdlrcltrsearchgui1.Visible = .F.
THISFORM.ACmfgrsearchgui2.Visible = .T.
ENDCASE