How can i manage the dcount to support the second criteria
So i decide to do it like this:
Code:
Public Sub CheckTable(ByVal place As String)
If DCount("*", place, " IsNull([ver1_2])=True") > 0 Then
'table has empty ver1_2 records
showme = 0
Else
'do something else - table doesn't have empty records
showme = 1
End If
End Sub
and here user will input manually the select number:
Code:
Sub InputBoxTest()
inputData = InputBox("What is your select?", "Select ID")
'
' Check to see if any data was entered
'
If inputData = "" Then
'
' If so, display it
'
'MsgBox inputData
MsgBox "Please enter some number"
End If
End Sub
So my question is how i can add inside "If DCount("*", place, " IsNull([ver1_2])=True") > 0 Then" also to search where Select = inputdata
So to become like this:
- search select = inputdata , if its matching with Table data, then search if ver1_2 is null and if it has then do something else other.