ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Filtering External Data (https://www.excelbanter.com/excel-worksheet-functions/70502-filtering-external-data.html)

[email protected]

Filtering External Data
 
I am working with some external data in excel (from DBF File). I have
succeeded in getting the data in Excel.

I have a field /column containing invoice nos. (EXP_NO) and I have to
exclude all records from my list in which the invoice nos. begin with
LRE or SRE e.g. to include L014/05-06 but to exclude LRE02/05-06

Following is the Query that I have in Excel. (Menu DATA-Import
External Data-Edit Query

CONNECTION:
Provider=Microsoft.Jet.OLEDB.4.0;Password="";User ID=Admin;Data
Source=G:\Seepz\TOTEXP\;Mode=Share Deny Write;Extended
Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry
Path="";Jet OLEDB:Database Password="";Jet OLEDB:Engine Type=18;Jet
OLEDB:Database Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet
OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet
OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet
OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without
Replica Repair=False;Jet OLEDB:SFP=False

Command Type:
TABLE

Command Text:
select * from EXP where co < "LT" and EXP_NO < "L127/04-05" and
EXP_NO < "L227/04-05" and EXP_NO < "L323/04-05"


I do not know how to put modify this parameter in the MSQ to filter
this external data.

Can someone please help me.

Regards
Amish



All times are GMT +1. The time now is 08:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com