Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub GetRowSource()
Dim strCriteria
strCriteria = Me.Criterion
Me.Text2.RowSource = "SELECT DISTINCT tblIndicators.Indicator _
, tblIndicators.Id FROM tblIndicators WHERE _
(((tblIndicators.CriteriaID)=" & strCriteria & "));"
End Sub
Private Sub GetRowSource()
Dim strCriteria
strCriteria = Me.Criterion
Me.Text2.RowSource = "SELECT DISTINCT _ tblIndicators.Indicator FROM tblIndicators WHERE _(((tblIndicators.CriteriaID)=" & strCriteria & "));"
End Sub
Private Sub cmbIndicator_AfterUpdate()
Dim cnn As ADODB.Connection
Dim rs As New ADODB.Recordset
Dim strfind As String
Set cnn = CurrentProject.Connection
rs.Open "tblIndicators", cnn, 3, 3
strfind = "IndicatorName= '" & cmbIndicator & "'"
rs.Find (strfind)
txtIndicator = rs!id
rs.Close
Set rs = Nothing
Set cnn = Nothing
End Sub