N
New
I am using Acess 2003 Code Builder.
Can I do the following? Why is the syntax wrong?
If ((txtDistrictName.Text="") Or (txtSchoolName.Text="") Or
(CountyName.Text="") Or (txtDistrictCode.Text)="") Or
(txtSchoolCode.Text="") Or (txtRegionNumber.Text="") Or and
(cboProgramName.text="") Or (cboFiscalYear.Text="") ) Then
MsgBox "Please enter at least one search criteria to see records.",
vbOKOnly, "Error"
txtDistrictName.setFocus()
End If
Can I do the following? Why is the syntax wrong?
If ((txtDistrictName.Text="") Or (txtSchoolName.Text="") Or
(CountyName.Text="") Or (txtDistrictCode.Text)="") Or
(txtSchoolCode.Text="") Or (txtRegionNumber.Text="") Or and
(cboProgramName.text="") Or (cboFiscalYear.Text="") ) Then
MsgBox "Please enter at least one search criteria to see records.",
vbOKOnly, "Error"
txtDistrictName.setFocus()
End If