Me again.
Just added a new combo box to my select form.
The line for cboSelecthouse, along with a dozen others, work. The new line, cboSchool, gives a compile error.
"Invalid use of Property" of cboSelectVillag e
It is the same code as everywhere else, or have I missed something obvious, like a full stop or something?
Just added a new combo box to my select form.
Code:
Case "HouseEditDouble", "ParentsEditDouble", "ChildEditDouble"
cboSelectHouse.RowSource = "SELECT HouseID FROM tblHouseDoubleEntry WHERE VillageID = '" & cboSelectVillage & "' ORDER BY HouseID;"
Case "SchoolEdit"
cboSchool.RowSource "SELECT SchoolID FROM tblSchoolSurvey WHERE VillageID = '" & cboSelectVillage & "' ORDER BY SchoolID;"
"Invalid use of Property" of cboSelectVillag e
It is the same code as everywhere else, or have I missed something obvious, like a full stop or something?
Comment