S
samah
Sorry, I am reposting this question. The original question came up with
wrongly set system date. Slightly rephrased the question as well.
I have two lookup tables. The structure is as follows:
1. tblCities
CityName - Text (pk-single field table)
2. tblBlocks
BlockNo - Text (pk)
CityName - Text (fk)
Area - Text
1-m relationship. (Each city can be divided into many blocks).
Relationship is setup to cascade updates.
I have created a form with a subform to input data. In the main
form I have a combo box bound to CityName field in the tblCities table
and the subform is based on tblBlocks with 2 text boxes one for
BlockNo and another for Area.
The form works fine when I input a new city and existing block nos under
that city for the first time, but later when I select an existing city
in the combo box to add additional block nos., the form displays an
error message and doesn't allow me to move on to the sub form.
What am I doing wrong?
Thanks in advance.
-samah
wrongly set system date. Slightly rephrased the question as well.
I have two lookup tables. The structure is as follows:
1. tblCities
CityName - Text (pk-single field table)
2. tblBlocks
BlockNo - Text (pk)
CityName - Text (fk)
Area - Text
1-m relationship. (Each city can be divided into many blocks).
Relationship is setup to cascade updates.
I have created a form with a subform to input data. In the main
form I have a combo box bound to CityName field in the tblCities table
and the subform is based on tblBlocks with 2 text boxes one for
BlockNo and another for Area.
The form works fine when I input a new city and existing block nos under
that city for the first time, but later when I select an existing city
in the combo box to add additional block nos., the form displays an
error message and doesn't allow me to move on to the sub form.
What am I doing wrong?
Thanks in advance.
-samah