PC Review


Reply
Thread Tools Rate Thread

cherry pick rows from linked table

 
 
mcourter@mindspring.com
Guest
Posts: n/a
 
      20th Dec 2005
i need to be able to let users hand select rows from a linked table.
i had been letting them import the table then i append a yes/no field
that i update as they click on the field.
can i create a query that adds an updateable yes/no field to the linked
table.

 
Reply With Quote
 
 
 
 
Rick B
Guest
Posts: n/a
 
      20th Dec 2005
Sure - as long as you have that field in your table. Just add the field to
your table, then include it in your query.

Personally, I create forms for my users, I don't let them work in a query.
It's not a very user-friendly object and you have less control over what
they can do there.


--
Rick B



<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>i need to be able to let users hand select rows from a linked table.
> i had been letting them import the table then i append a yes/no field
> that i update as they click on the field.
> can i create a query that adds an updateable yes/no field to the linked
> table.
>



 
Reply With Quote
 
mcourter@mindspring.com
Guest
Posts: n/a
 
      20th Dec 2005
i didn't explain very well i quess.

the linked table will typically be a spreadsheet.
it will not contain a boolean yes/no field or if it does it can't be
used as i need to.

i need to add a temp boolean field to allow for selecting which records
will be used to for printing labels.

so i want to know if a temp field could be created and appended to the
linked table via query.
i am using a form for selection so i was thinking the query would
become the form's data source.

 
Reply With Quote
 
=?Utf-8?B?bXNjZXJ0aWZpZWQ=?=
Guest
Posts: n/a
 
      20th Dec 2005
You can only update the design of a linked table in the back-end database.
Why not just save the primary keys of the selected rows in a temporary
table. Then you can retrieve all the data by a join of your temporary table
with the linked table.

-Dorian

"(E-Mail Removed)" wrote:

> i need to be able to let users hand select rows from a linked table.
> i had been letting them import the table then i append a yes/no field
> that i update as they click on the field.
> can i create a query that adds an updateable yes/no field to the linked
> table.
>
>

 
Reply With Quote
 
mcourter@mindspring.com
Guest
Posts: n/a
 
      20th Dec 2005
how would i know if there are any primary keys?
the idea is to let users link whatever they have and print labels.
i can trust that their data will be columnar, but they will have no use
for a primary key in a spreadsheet. some may include a unique
identifier and some may not.
in any event, i will not be around to help them in any way so they are
on their own to make it work. that's why i need some way to add the
field i need to work with.

looks like they'll have to import and forget about linking.

 
Reply With Quote
 
John Vinson
Guest
Posts: n/a
 
      21st Dec 2005
On 20 Dec 2005 11:06:25 -0800, (E-Mail Removed) wrote:

>i didn't explain very well i quess.
>
>the linked table will typically be a spreadsheet.
>it will not contain a boolean yes/no field or if it does it can't be
>used as i need to.
>
>i need to add a temp boolean field to allow for selecting which records
>will be used to for printing labels.
>
>so i want to know if a temp field could be created and appended to the
>linked table via query.
>i am using a form for selection so i was thinking the query would
>become the form's data source.


This can be done using a one-to-one relationship to a local table -
but ONLY if you have a unique Primary Key in the linked table (which a
spreadsheet won't have). Otherwise the query won't be updateable.

Import would seem to be your best bet.

John W. Vinson[MVP]
 
Reply With Quote
 
Albert D.Kallal
Guest
Posts: n/a
 
      21st Dec 2005
I have a solution that uses check boxes that are NOT bound to the underlying
table.

This solution should be ideal for your case.....

check out my mult-select example here:

http://www.members.shaw.ca/AlbertKal.../msaccess.html

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)
http://www.members.shaw.ca/AlbertKallal


 
Reply With Quote
 
mcourter@mindspring.com
Guest
Posts: n/a
 
      21st Dec 2005
very nice.
i think i can use that, but will need to make some changes.
the app's actions are triggered from the selection form so i need a way
to retain what was selected.
can do.
thanks much.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access counts blank rows in Excel rows as records in linked table Linkerbink Microsoft Access External Data 1 14th Nov 2009 05:37 PM
CTRL key in Excel 2007 won't "cherry pick" LBRT Microsoft Excel Crashes 0 28th Jun 2009 03:36 PM
Conditional Vlookup - Cherry picking information from the table ar =?Utf-8?B?V2FubmFiZSBFZmZpY2llbnQ=?= Microsoft Excel Misc 6 12th Jan 2007 02:41 PM
Insert rows in linked table that are added to secondary table =?Utf-8?B?SWRhIExhVmFsbGV5?= Microsoft Excel Programming 0 24th Aug 2006 09:19 PM
Insert rows in linked table that are added to secondary table =?Utf-8?B?SWRhIExhVmFsbGV5?= Microsoft Excel Misc 2 21st Aug 2006 10:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:00 AM.