Kennelbloke
Technical User
Hi Folks
Got a form(sub) with a weird problem. Bit hard to explain but the attached video says it all.
I have tried the subform in datasheet mode with the same affect. The cascading combos are working fine just not displaying properly.
When the PetType is selected sets PetTypeID to that combo. On update the following is called and run
Sub SetComboSource()
Dim strSQL As String
strSQL = "SELECT tblBreeds.BreedID, tblBreeds.Breed FROM tblBreeds WHERE tblBreeds.PetTypeID = " & Me.PetTypeID & " ORDER BY tblBreeds.Breed"
Me.BreedID.RowSource = strSQL
End Sub
BreedID Combo then displays Breed names based upon the PetTypeID.
This is also called on Form_Current()
Anyone have any ideas about this behaviour?
Got a form(sub) with a weird problem. Bit hard to explain but the attached video says it all.
I have tried the subform in datasheet mode with the same affect. The cascading combos are working fine just not displaying properly.
When the PetType is selected sets PetTypeID to that combo. On update the following is called and run
Sub SetComboSource()
Dim strSQL As String
strSQL = "SELECT tblBreeds.BreedID, tblBreeds.Breed FROM tblBreeds WHERE tblBreeds.PetTypeID = " & Me.PetTypeID & " ORDER BY tblBreeds.Breed"
Me.BreedID.RowSource = strSQL
End Sub
BreedID Combo then displays Breed names based upon the PetTypeID.
This is also called on Form_Current()
Anyone have any ideas about this behaviour?