hallo,
ik ben bezig om een search form te maken, maar ik stuit tegen een aantal dingetjes.
zie voor code:
http://www.workwithdmr.nl/projecten/
1. als ik nu een branche kies zou hij de subbranches die onder die branche vallen, in de dropbox subbranche moeten laden, maar ik krijg hier een fou melding:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch
/project/countdown/dummy2/index2test-roy.asp, line 70
line 70 is:
dit heb ik veranderd naar:
maar dan krijg ik de volgede error:
Error Type:
ADODB.Fields (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested name or ordinal.
/project/countdown/dummy2/TMP4950zunkku.asp, line 471
line 471:
zou iemand me hiermee kunnen helpen?
tnx in advance
ik ben bezig om een search form te maken, maar ik stuit tegen een aantal dingetjes.
zie voor code:
http://www.workwithdmr.nl/projecten/
1. als ik nu een branche kies zou hij de subbranches die onder die branche vallen, in de dropbox subbranche moeten laden, maar ik krijg hier een fou melding:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch
/project/countdown/dummy2/index2test-roy.asp, line 70
line 70 is:
code:
1
| subbranche.Source = "SELECT * FROM Subbranche, branche WHERE Subbranche.Branche = branche.ID and branche.id = '"&branche&"'" |
dit heb ik veranderd naar:
code:
1
| subbranche.Source = "SELECT subbranche.ID, subbranche.NL_naam FROM dbo.Subbranche INNER JOIN branche ON branche.ID = Subbranche.Branche WHERE branche.id = '"&branche.value&"'" |
maar dan krijg ik de volgede error:
Error Type:
ADODB.Fields (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested name or ordinal.
/project/countdown/dummy2/TMP4950zunkku.asp, line 471
line 471:
code:
1
| <option value="<%=(subbranche.Fields.Item("ID").Value)%>"><%=(subbranche.Fields.Item("NL_naam").Value)%></option> |
zou iemand me hiermee kunnen helpen?
tnx in advance