M
Michael
Hello
I have a combo box containing a list of region IDs, for example
94000 = region 1
95000 = region 2
96000 = region 3
I also have property ID's that are made up from the first 2 numbers of the
region ID and adding 1 to the end for example
94001 = property 1 for region 1
94002 = property 2 for region 1
94003 = property 3 for region 1
95001 = property 1 for region 2
96001 = property 1 for region 3
96002 = property 2 for region 3
My problem is when a user needs to create a new property they select (from a
combo box) the region ID in which the property is contained (a region can
have many properties but not vice versa). I then want the property ID field
to be populated with next available property ID based on the region that has
been selected. For example, based on the ID's above if the user selected
region ID 96000 the property ID field would automatically be filled with the
number 96003 as this is the next available property ID.
I hope this is not to confusing and any help would be appreciated
I have a combo box containing a list of region IDs, for example
94000 = region 1
95000 = region 2
96000 = region 3
I also have property ID's that are made up from the first 2 numbers of the
region ID and adding 1 to the end for example
94001 = property 1 for region 1
94002 = property 2 for region 1
94003 = property 3 for region 1
95001 = property 1 for region 2
96001 = property 1 for region 3
96002 = property 2 for region 3
My problem is when a user needs to create a new property they select (from a
combo box) the region ID in which the property is contained (a region can
have many properties but not vice versa). I then want the property ID field
to be populated with next available property ID based on the region that has
been selected. For example, based on the ID's above if the user selected
region ID 96000 the property ID field would automatically be filled with the
number 96003 as this is the next available property ID.
I hope this is not to confusing and any help would be appreciated