Hi good people,
I have records a fCriteria table that I am connecting to using the code below.
How can I filter records in the table using based on Letter_Code field ?
E.g Filter all records where the code is LTRPLA found in Letter_Code field.
Regards,
almacjnr
I have records a fCriteria table that I am connecting to using the code below.
How can I filter records in the table using based on Letter_Code field ?
E.g Filter all records where the code is LTRPLA found in Letter_Code field.
.OpenDataSource Name:=sDBPath, _
ConfirmConversions:=False, _
ReadOnly:=False, _
LinkToSource:=True, _
AddToRecentFiles:=False, _
Revert:=False, _
Format:=wdOpenFormatRTF, _
Connection:= _
"Provider=Microsoft.ACE.OLEDB.12.0; " & _
"User ID=Admin;" & _
"Password='';" & _
"Data Source=" & sDBPath & ";" & _
"Mode=Read;", _
SQLStatement:="SELECT * FROM `" & fCriteria & "`", SQLStatement1:="", _
Subtype:=wdMergeSubTypeAccess
Regards,
almacjnr