Group:  Microsoft Access ยป microsoft.public.access.externaldata
Thread: Issues getting data from Excel to Access (2002)

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Issues getting data from Excel to Access (2002)
mklapp 29.09.2006 18:33:02
Hello,

I have several Excel spreadsheets. One column is numeric. I have set it to
numeric through the "Format Cells...". When I try to import it, either from
the excel workbook or a tab delimited file, the numeric values are eith:

1. arbitrarily excluded (some get in, others don't)
2. arbitrarily quoted (same thing as above)

It needs to be numeric. That is why the number keeys were used to enter the
data and why the poor users chose to use Excel.

Questions -

1. How can we get Excel to recognize number as number?
2. How can we get Access to recognize numbers as numbers?

Now that I have asked questions for which no useful answer will likely be
forthcoming (in at least a timely manner), might I offer a few comments?

This is a straight forward business function. I have been working with
computers for a long long time. Some of the worst times have been spent
working with Microsoft solutions for users (the dev tools are mostly pretty
good). I have to wonder why these problems are found in Release code? Why
am I sitting here, looking at a column of numbers that are not being treated
like numbers?




Re: Issues getting data from Excel to Access (2002)
"Jeff Boyce" <nonsense[ at ]nonsense.com> 29.09.2006 19:22:26
One approach might be to import whatever you can get into a temporary table
in Access, then run queries that "coerce" the data into a final data
type/format in more permanent tables. I use "tables" because Excel data is
usually "flat", where a well-normalized Access application uses relational
data (table) structures.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"mklapp" <mklapp[ at ]discussions.microsoft.com> wrote in message
news:1F57A5E9-FC26-4063-8706-875A7CD4D3EA[ at ]microsoft.com...
[Quoted Text]
> Hello,
>
> I have several Excel spreadsheets. One column is numeric. I have set it
> to
> numeric through the "Format Cells...". When I try to import it, either
> from
> the excel workbook or a tab delimited file, the numeric values are eith:
>
> 1. arbitrarily excluded (some get in, others don't)
> 2. arbitrarily quoted (same thing as above)
>
> It needs to be numeric. That is why the number keeys were used to enter
> the
> data and why the poor users chose to use Excel.
>
> Questions -
>
> 1. How can we get Excel to recognize number as number?
> 2. How can we get Access to recognize numbers as numbers?
>
> Now that I have asked questions for which no useful answer will likely be
> forthcoming (in at least a timely manner), might I offer a few comments?
>
> This is a straight forward business function. I have been working with
> computers for a long long time. Some of the worst times have been spent
> working with Microsoft solutions for users (the dev tools are mostly
> pretty
> good). I have to wonder why these problems are found in Release code?
> Why
> am I sitting here, looking at a column of numbers that are not being
> treated
> like numbers?
>
>
>
>


Re: Issues getting data from Excel to Access (2002)
mklapp 29.09.2006 20:34:03
Actually, that was pretty close. I change the column to Text and loaded the
rows. Used a Find and replace to remove quotation marks ( one at a time.
The command would not get both in the same 'cell'. Had to redefine the data
type a couple of times because Access kept truncating the cents.

I conditioned the Excel data into a nicely normalized table on each sheet
and followed what anyone would have called due diligence in preparing the
sheets for import. The frustrating thing was the indeterminate behavior of
Access. There was absolutely no condition that was useful in predicting or
controlling the behavior. That may be acceptable for some types of fantasy
AI but NOT for a database or spreadsheet application.

"Jeff Boyce" wrote:

[Quoted Text]
> One approach might be to import whatever you can get into a temporary table
> in Access, then run queries that "coerce" the data into a final data
> type/format in more permanent tables. I use "tables" because Excel data is
> usually "flat", where a well-normalized Access application uses relational
> data (table) structures.
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
> "mklapp" <mklapp[ at ]discussions.microsoft.com> wrote in message
> news:1F57A5E9-FC26-4063-8706-875A7CD4D3EA[ at ]microsoft.com...
> > Hello,
> >
> > I have several Excel spreadsheets. One column is numeric. I have set it
> > to
> > numeric through the "Format Cells...". When I try to import it, either
> > from
> > the excel workbook or a tab delimited file, the numeric values are eith:
> >
> > 1. arbitrarily excluded (some get in, others don't)
> > 2. arbitrarily quoted (same thing as above)
> >
> > It needs to be numeric. That is why the number keeys were used to enter
> > the
> > data and why the poor users chose to use Excel.
> >
> > Questions -
> >
> > 1. How can we get Excel to recognize number as number?
> > 2. How can we get Access to recognize numbers as numbers?
> >
> > Now that I have asked questions for which no useful answer will likely be
> > forthcoming (in at least a timely manner), might I offer a few comments?
> >
> > This is a straight forward business function. I have been working with
> > computers for a long long time. Some of the worst times have been spent
> > working with Microsoft solutions for users (the dev tools are mostly
> > pretty
> > good). I have to wonder why these problems are found in Release code?
> > Why
> > am I sitting here, looking at a column of numbers that are not being
> > treated
> > like numbers?
> >
> >
> >
> >
>
>
>
Re: Issues getting data from Excel to Access (2002)
mklapp 29.09.2006 20:35:02
BTW - Thanks for your response.

"Jeff Boyce" wrote:

[Quoted Text]
> One approach might be to import whatever you can get into a temporary table
> in Access, then run queries that "coerce" the data into a final data
> type/format in more permanent tables. I use "tables" because Excel data is
> usually "flat", where a well-normalized Access application uses relational
> data (table) structures.
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
> "mklapp" <mklapp[ at ]discussions.microsoft.com> wrote in message
> news:1F57A5E9-FC26-4063-8706-875A7CD4D3EA[ at ]microsoft.com...
> > Hello,
> >
> > I have several Excel spreadsheets. One column is numeric. I have set it
> > to
> > numeric through the "Format Cells...". When I try to import it, either
> > from
> > the excel workbook or a tab delimited file, the numeric values are eith:
> >
> > 1. arbitrarily excluded (some get in, others don't)
> > 2. arbitrarily quoted (same thing as above)
> >
> > It needs to be numeric. That is why the number keeys were used to enter
> > the
> > data and why the poor users chose to use Excel.
> >
> > Questions -
> >
> > 1. How can we get Excel to recognize number as number?
> > 2. How can we get Access to recognize numbers as numbers?
> >
> > Now that I have asked questions for which no useful answer will likely be
> > forthcoming (in at least a timely manner), might I offer a few comments?
> >
> > This is a straight forward business function. I have been working with
> > computers for a long long time. Some of the worst times have been spent
> > working with Microsoft solutions for users (the dev tools are mostly
> > pretty
> > good). I have to wonder why these problems are found in Release code?
> > Why
> > am I sitting here, looking at a column of numbers that are not being
> > treated
> > like numbers?
> >
> >
> >
> >
>
>
>
Re: Issues getting data from Excel to Access (2002)
"Jeff Boyce" <nonsense[ at ]nonsense.com> 29.09.2006 23:30:56
Actually, I was recommending doing the work inside of Access, importing all
the "raw" Excel data first.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"mklapp" <mklapp[ at ]discussions.microsoft.com> wrote in message
news:2225370E-85CE-4E77-B3CC-E28E9F99962B[ at ]microsoft.com...
[Quoted Text]
> Actually, that was pretty close. I change the column to Text and loaded
> the
> rows. Used a Find and replace to remove quotation marks ( one at a time.
> The command would not get both in the same 'cell'. Had to redefine the
> data
> type a couple of times because Access kept truncating the cents.
>
> I conditioned the Excel data into a nicely normalized table on each sheet
> and followed what anyone would have called due diligence in preparing the
> sheets for import. The frustrating thing was the indeterminate behavior
> of
> Access. There was absolutely no condition that was useful in predicting
> or
> controlling the behavior. That may be acceptable for some types of
> fantasy
> AI but NOT for a database or spreadsheet application.
>
> "Jeff Boyce" wrote:
>
>> One approach might be to import whatever you can get into a temporary
>> table
>> in Access, then run queries that "coerce" the data into a final data
>> type/format in more permanent tables. I use "tables" because Excel data
>> is
>> usually "flat", where a well-normalized Access application uses
>> relational
>> data (table) structures.
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Office/Access MVP
>>
>> "mklapp" <mklapp[ at ]discussions.microsoft.com> wrote in message
>> news:1F57A5E9-FC26-4063-8706-875A7CD4D3EA[ at ]microsoft.com...
>> > Hello,
>> >
>> > I have several Excel spreadsheets. One column is numeric. I have set
>> > it
>> > to
>> > numeric through the "Format Cells...". When I try to import it, either
>> > from
>> > the excel workbook or a tab delimited file, the numeric values are
>> > eith:
>> >
>> > 1. arbitrarily excluded (some get in, others don't)
>> > 2. arbitrarily quoted (same thing as above)
>> >
>> > It needs to be numeric. That is why the number keeys were used to
>> > enter
>> > the
>> > data and why the poor users chose to use Excel.
>> >
>> > Questions -
>> >
>> > 1. How can we get Excel to recognize number as number?
>> > 2. How can we get Access to recognize numbers as numbers?
>> >
>> > Now that I have asked questions for which no useful answer will likely
>> > be
>> > forthcoming (in at least a timely manner), might I offer a few
>> > comments?
>> >
>> > This is a straight forward business function. I have been working with
>> > computers for a long long time. Some of the worst times have been
>> > spent
>> > working with Microsoft solutions for users (the dev tools are mostly
>> > pretty
>> > good). I have to wonder why these problems are found in Release code?
>> > Why
>> > am I sitting here, looking at a column of numbers that are not being
>> > treated
>> > like numbers?
>> >
>> >
>> >
>> >
>>
>>
>>


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net