Hi guys,
I am building a front end on access with sql as a back end. I am using linked tables to view the data.
strCriteria1 = "Station=" & Me.Combo8.Value & ""
strCriteria2 = "[BusinessDate] Between #" & Me.Text0 & "# and #" & Me.Text3 & "#"
strCriteria5 = strCriteria2 & " And " & strCriteria1
If IsNull(Text0) = False And IsNull(Text3) = False And IsNull(Combo8.Value) = False Then
DoCmd.OpenTable "AS_DATA", acViewNormal
DoCmd.ApplyFilter , strCriteria5
End If
It works gud since i have both columns in my AS_Data table.
What i want is i Have another table STORE. I want to join to this table. How can i join that table to the above docmd.opentable and docmd.apply filter logic ???
How to use inner join with docmd.opentable and apply filter?? is this possible ??
What's my alternate methods??
Plz help me out.
Thanks,
SAM.
I am building a front end on access with sql as a back end. I am using linked tables to view the data.
strCriteria1 = "Station=" & Me.Combo8.Value & ""
strCriteria2 = "[BusinessDate] Between #" & Me.Text0 & "# and #" & Me.Text3 & "#"
strCriteria5 = strCriteria2 & " And " & strCriteria1
If IsNull(Text0) = False And IsNull(Text3) = False And IsNull(Combo8.Value) = False Then
DoCmd.OpenTable "AS_DATA", acViewNormal
DoCmd.ApplyFilter , strCriteria5
End If
It works gud since i have both columns in my AS_Data table.
What i want is i Have another table STORE. I want to join to this table. How can i join that table to the above docmd.opentable and docmd.apply filter logic ???
How to use inner join with docmd.opentable and apply filter?? is this possible ??
What's my alternate methods??
Plz help me out.
Thanks,
SAM.