Well, obviously, the hard part of connecting to sql server has been done,
and is setup...correct ?
So, really, your question at this point has little to do with sql server.
Your question is:
I want to display a list of orders on the screen. Then I want the user to
select some of these orders, and the copy them to another table.
The fact that one table is on planet mars using the Microsoft Mars Sql
server that runs on the mars rover is really a moot point here.
So, one of your tables just happens to be linked to sql server, and the
other table is a simply local table in the mdb file...right?
Assuming the above, then we need some way to let the user copy the records
to a local table.
Ok...well, the first question then is how many records (max) will we have to
display. (this question is VERY important, as it will help us decide what
kind of control or UI thing to use here).
Up to this point, we have a VERY simple problem (and solutions are simple).
However, is the above really your problem/question?
What happens once ONE user moves these orders to their desktop? After this
happens..then can others also move the orders to their desktop? In other
words, once one user selects an order..shall others be prevented from moving
this order? If this is the case, then your problem of course it not the
original question anymore...is it?
Further, since ms-access is connecting to the sql server...then why bother
to move the records anywhere at all? Would not just showing which person
selected which orders be better? (then all office people could see/know who
has selected what orders to work on!).
Again, the approach and answer for you will depending on the above
questions. If you DO NOT care that one person has already
selected/downloaded orders, then course you can actually transfer the
records to the local pc (and, that is your first question). On the other
hand, if it DOES matter that someone has already downloaded some
records...then you need to make note of this fact on the server side.
(otherwise..how will you know who grabbed what order). And, it follows if
you have to make note of this fact that someone grabbed and order to work on
then it would be a BAD idea to transfers the records also...right?
So, you need to decide the above issues first. Once you decide..I don't see
much difficulty with the solution.
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl************* ****@msn.com http://www.attcanada.net/~kallal.msn