A family of Microsoft relational database management systems designed for ease of use.
Hi Gina,
This is everything I have. I think I'm just really confused. I need the Provider's Name first (cboProviderName), then Appointment Type (cboVisitType), then the Insurance (cboInsurance). I just don't seem to be getting the hang of it.
Option Compare Database
Option Explicit
Private Sub BtnReset_Click()
Me.cboProviderName = ""
Me.cboVisitType = ""
Me.cboSpecialty = ""
Me.cboInsurance = ""
Me.txtSubSpecialty = ""
End Sub
Private Sub BtnSearch_Click()
End Sub
Private Sub cboProviderName_Change()
If Me.cboProviderName = "" Then
Me.cboProviderName = 1
End If
strSQL = "SELECT [tblVisit].[vVisitID], [tblVisit].[vType], IIf([fObsolete]=True,'x',''), fVisitID, fkKeywords, fIdentifier, fvType " & _
"FROM tblVisit ORDER BY [vType];" & _
"WHERE fVisitID = " & Me.cboVisitType.Value & " " & _
"ORDER BY vType ASC , fVisitID"
Me.cboVisitType.RowSource = strSQL
Me.cboVisitType = Me.cboVisitType.ItemData(0)
End Sub
Private Sub cboVisitType_AfterUpdate()
Me.cboProviderName = Null
Me.cboProviderName.Requery
End Sub