Hi guys i dont know why i can get the datas from the sql 7.0
Can help me check this code>>>
If txtFBadgeID = "" Then
Exit Sub
Else
sql = "select from staff_badgeTrackingNew INNER JOIN staff_badgeTracking"
End If
Exit Sub
Set rsTrack = New ADODB.Recordset
With rsTrack
.ActiveConnection = cnUnisemsql
.CursorType = adOpenStatic
.Open sql
End With
If rsTrack.EOF = True Then
MsgBox "Badge ID '" & txtFBadgeID.Text & "' does not exist ! "
txtFBadgeID.Text = ""
txtFBadgeID.SetFocus
Exit Sub
Else
txtFBadgeID.SetFocus