Import external data

N

nordiyu

Sir,
I am using MS excel 2003. I try to get data (a1:u17000) from another file
using "Import external data" function. When I refresh data, not all data
imported. Column R & S failed to extract and column U some data OK.
 
N

nordiyu

sorry sir, how to post SQL? I found thats column R&S import for text data
only and column U import for number only
 
F

FSt1

hi
the SQL (structured query language) is the query language that MSQuery uses
to import the data. if data isn't being imported properly then the problem
would be in the SQL. but first you said R & S didn't import. now you say it
does but is text only.
what is the problem?

to get the SQL.... right click the query area. from the popup, select edit
query. this will bring up the MSQ dialog. at the top should be a button
entitled SQL. clicking the SQL button should produce a small text box with
the SQL query. copy that and post in here.
if the query wizard come up instead of the MSQ dialog, click through the
first three dialogs and on the forth, cllick edit with MSQ.

regards
FSt1
 
N

nordiyu

Sir, before this, column R&S (from external file) I fill with number, then
when I fill with text, the data had imported. FYI, command type is table.
 
N

nordiyu

nordiyu said:
Sir, before this, column R&S (from external file) I fill with number, then
when I fill with text, the data had imported. FYI, command type is table and the connection is : Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=P:\SPAREPART\Inventory Review\FY2010\Non Moving Review\Working - Non Moving items as 030510.xls;Mode=Share Deny Write;Extended Properties="HDR=YES;";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Engine Type=35;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
 
F

FSt1

hi
that is your connection, not the SQL.
the SQL will contain your select statement.
perhaps similar to this
select field1, field2, ect from tablename where field1 = criteria

then statement can vary a lot depending on how you set it up. this will tell
what the query is instructed to return.

Regards
FSt1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top