Excuse my non-expertise of Access, but I am trying to load a long list
(30,000 "values") to see if any of these match up with those within a table
(table A we'll call it). Table A is linked to TAble B to look at a field
within that table. The common field linked to these tables is the "values."
How can I load all these values, without having to go into criteria (which
only allows up to 1,024 characters, or in my case, about 60 "values" at a
time)? Is there a command to look at all the values (I have these listed in a
column - 1 value per row).
|
|
0
|
|
|
|
Reply
|
Utf
|
10/31/2007 7:09:02 PM |
|
If I'm understanding what you are trying to do...
You can create a new query, add both TableA and (whatever table is holding
your 30,000 values), join the two on the fields in each that are supposed to
match. Select one/more fields from TableA (and/or the other) so you'll know
which rows match ... ?an ID field.
This tells Access to show fields when the values match up.
Or have I not understood...?
Regards
Jeff Boyce
Microsoft Office/Access MVP
"picmeup" <picmeup@discussions.microsoft.com> wrote in message
news:C6AC17F1-727D-4ED9-B9ED-CFEE06D76428@microsoft.com...
> Excuse my non-expertise of Access, but I am trying to load a long list
> (30,000 "values") to see if any of these match up with those within a
> table
> (table A we'll call it). Table A is linked to TAble B to look at a field
> within that table. The common field linked to these tables is the
> "values."
> How can I load all these values, without having to go into criteria (which
> only allows up to 1,024 characters, or in my case, about 60 "values" at a
> time)? Is there a command to look at all the values (I have these listed
> in a
> column - 1 value per row).
|
|
0
|
|
|
|
Reply
|
Jeff
|
10/31/2007 7:19:41 PM
|
|
I'll try that, thanks.
"Jeff Boyce" wrote:
> If I'm understanding what you are trying to do...
>
> You can create a new query, add both TableA and (whatever table is holding
> your 30,000 values), join the two on the fields in each that are supposed to
> match. Select one/more fields from TableA (and/or the other) so you'll know
> which rows match ... ?an ID field.
>
> This tells Access to show fields when the values match up.
>
> Or have I not understood...?
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
> "picmeup" <picmeup@discussions.microsoft.com> wrote in message
> news:C6AC17F1-727D-4ED9-B9ED-CFEE06D76428@microsoft.com...
> > Excuse my non-expertise of Access, but I am trying to load a long list
> > (30,000 "values") to see if any of these match up with those within a
> > table
> > (table A we'll call it). Table A is linked to TAble B to look at a field
> > within that table. The common field linked to these tables is the
> > "values."
> > How can I load all these values, without having to go into criteria (which
> > only allows up to 1,024 characters, or in my case, about 60 "values" at a
> > time)? Is there a command to look at all the values (I have these listed
> > in a
> > column - 1 value per row).
>
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
10/31/2007 9:01:01 PM
|
|
I'm not sure how to do this part you mentioned: 'Select one/more fields from
TableA (and/or the other) so you'll know which rows match ... ?an ID field.'
"Jeff Boyce" wrote:
> If I'm understanding what you are trying to do...
>
> You can create a new query, add both TableA and (whatever table is holding
> your 30,000 values), join the two on the fields in each that are supposed to
> match. Select one/more fields from TableA (and/or the other) so you'll know
> which rows match ... ?an ID field.
>
> This tells Access to show fields when the values match up.
>
> Or have I not understood...?
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
> "picmeup" <picmeup@discussions.microsoft.com> wrote in message
> news:C6AC17F1-727D-4ED9-B9ED-CFEE06D76428@microsoft.com...
> > Excuse my non-expertise of Access, but I am trying to load a long list
> > (30,000 "values") to see if any of these match up with those within a
> > table
> > (table A we'll call it). Table A is linked to TAble B to look at a field
> > within that table. The common field linked to these tables is the
> > "values."
> > How can I load all these values, without having to go into criteria (which
> > only allows up to 1,024 characters, or in my case, about 60 "values" at a
> > time)? Is there a command to look at all the values (I have these listed
> > in a
> > column - 1 value per row).
>
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
10/31/2007 9:15:01 PM
|
|
"picmeup" <picmeup@discussions.microsoft.com> wrote in message
news:2306051F-835C-4170-9E75-0A5BCF335353@microsoft.com...
> I'm not sure how to do this part you mentioned: 'Select one/more fields
> from
> TableA (and/or the other) so you'll know which rows match ... ?an ID
> field.'
Yes, that sounds about right.
So assuming tablea has a whole bunch of fields but one of them is a part
number and table B. is simply a list the part numbers.
you would fire up that query builder drop in both tables and simply draw
join line from the part number of table A to the one field part number in
table B.
When you run the query you're going to get a list of records where all the
there's a match in both tables.
ultimately at the end of the day the best solution is going to be in what
context are you using this list. are you trying to restrict the list in a
report for example?
you can also use a where clause and SQL as a sub-select. in place of the
join idea we floated above. Thus, you can go something like
select * from tableA where tablea.ID in (select id from tableB)
So you have actually quite a few solutions at your fingertips. Your best
solution will depend in what context you are doing this. However if it is a
report I would simply take the existing query the report is based on, and
drop in tableB and draw the join line in the query builder.
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
|
|
0
|
|
|
|
Reply
|
Albert
|
10/31/2007 11:15:11 PM
|
|
|
4 Replies
209 Views
(page loaded in 0.111 seconds)
Similiar Articles: Lookup long list of values within a query of two linked tables ...Excuse my non-expertise of Access, but I am trying to load a long list (30,000 "values") to see if any of these match up with those within a table (... Linked Table - Query Table List Missing Fields? - microsoft.public ...Lookup long list of values within a query of two linked tables ... Linked Table - Query Table List Missing Fields? - microsoft.public ... Lookup long list of values within ... Creating Report on two tables that are linked - microsoft.public ...Lookup long list of values within a query of two linked tables ... Creating Report on two tables that are linked - microsoft.public ... Lookup long list of values within a ... linked tables query - microsoft.public.accessLookup long list of values within a query of two linked tables ... Excuse my non-expertise of Access, but I am trying to load a long list (30,000 "values") to see if any ... How to append query w/lookup fields.... - microsoft.public.access ...Lookup long list of values within a query of two linked tables ... You can create a new query, add both TableA and (whatever table ... SQL Query to lookup values from ... Make Query or Linked Table Read Only - microsoft.public.access ...Lookup long list of values within a query of two linked tables ..... all these values, without having to go into criteria (which only ... Lookup long list of values ... How to print a simple list of tables, queries & forms ...Lookup long list of values within a query of two linked tables ... How to print a simple list of tables, queries & forms ... Lookup long list of values within a query of ... Linked Tables "Read Only"? - microsoft.public.access ...Make Query or Linked Table Read Only - microsoft.public.access ... Lookup long list of values within a query of two linked tables ..... modify property? - microsoft.public ... Creating Lookup Field Between Two Tables - microsoft.public.access ...Lookup long list of values within a query of two linked tables ... Lookup long list of values within a query of two linked tables ..... the field properties of Linked ... Unable to update/add records in connected SQL Server tables ...Unable to update/add records in connected SQL Server tables ... Lookup long list of values within a query of two linked tables ..... can create a new query, add ... Lookup long list of values within a query of two linked tables ...Excuse my non-expertise of Access, but I am trying to load a long list (30,000 "values") to see if any of these match up with those within a table (... Lookup long list of values within a query of two linked tablesExcuse my non-expertise of Access, but I am trying to load a long list (30,000 "values") to see if any of these match up with those within a 8/1/2012 5:30:37 PM
|