Techniproshop
Programmer
Hello all. I went to and found the info for my needs but it's not working. This is for Microsoft Access 2000 Standard Edition and I use Professional Edition. I don't know if that could be the problem. I have this code for my drop-down-list in my access page. The drop-down-list name is
"SPROJECT" and the field that I need to search is "PROJECT NO" wich is a text field. When I choose a project number from the drop-down-list, the page doesn't go to the project I choosed. Any idea?
<SCRIPT language=vbscript event=onafterupdate for=SPROJECT>
<!--
Dim rs
Set rs = MSODSC.DefaultRecordset
rs.Find "[PROJECT NO] = '" & document.all.item("SPROJECT").value & "'", 0, 1, 1
'0 = Skip zero records before starting the search.
'1 = Search in a forward direction.
'1 = Always begin the search with the first record in the recordset.
-->
</SCRIPT>
"SPROJECT" and the field that I need to search is "PROJECT NO" wich is a text field. When I choose a project number from the drop-down-list, the page doesn't go to the project I choosed. Any idea?
<SCRIPT language=vbscript event=onafterupdate for=SPROJECT>
<!--
Dim rs
Set rs = MSODSC.DefaultRecordset
rs.Find "[PROJECT NO] = '" & document.all.item("SPROJECT").value & "'", 0, 1, 1
'0 = Skip zero records before starting the search.
'1 = Search in a forward direction.
'1 = Always begin the search with the first record in the recordset.
-->
</SCRIPT>