473,769 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Get Data from SQL to Access - via Access

Please help me decided the best way to do this...

I have a shopping cart web site that stores its data in an SQL server
database.

The client wants to retrieve daily orders via their access DB on their
desktop.

I have written macros to connect to the same SQL server, retrieve data
and process data on my desktop.

But What I'd like to do is...
..Display a list of open orders, etc, allow the client to select which
items to transfer from the live to the desktop. How can I do this?

Can someone point me to an example of data retrieval and display for
action in Access?

thank you in advance.



Please Reply to the Newsgroups..

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #1
4 1805
Someone else may have a better idea of what your clients want (based on
your description) or a better way to accomplish it. But my
interpretation of what the client wants is to be able to retrieve orders
remotely (from a computer that is not on the same network as the sql
Server - if on the same network, shouldn't be any issues, use ADO/ODBC).
If this is the case, here is one simplistic solution.

You have your basic application which takes orders from the internet,
and stores them in a Sql Server db. The client (owner of the DB) will
have exclusive access to the data tables in Sql Server. So the client
could query the tables remotely through an asp/aspx page and see the
results on a separate webpage that only the client has permission to
view (the client being the owner of the application). I will guess that
the client wants to store this data onto the Access mdb on their laptop.
Here is where I fall a little short on retrieving the data automatically
from the client side web page to the client side (the remote computer -
laptop/desktop) mdb. I would just highlight the data with the mouse and
do a copy paste (like to excel - then copy that to Access). I believe
security issues make retreiving data automatically from a webpage
difficult (mostly for hackers). Hopefully, if someone has a better
solution they will share (if I even interpreted your question
correctlly).

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #2
Hi Rich,
Yes interpreted correctly.

However the client wants to do this from within Access - and not via a
web site.

Thanks for the help.

Please Reply to the Newsgroups..

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #3
The only thing I can think of for that would be something like
PCanywhere type software where you can remotely control your server
computer from anywhere. There may be better software packages than
PCanywhere, but something like that.

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #4
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
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
5488
by: sffan | last post by:
I am new to database programming and was curious how others solve the problem of storing encrypted in data in db table columns and then subsequently searching for these records. The particular problem that I am facing is in dealing with (privacy) critical information like credit-card #s and SSNs or business critical information like sales opportunity size or revenue in the database. The requirement is that this data be stored encrypted...
6
5784
by: Hamed | last post by:
Hello I have employed as a developer in a software company that its team uses FoxPro / VB 6.0 / VC++ 6.0 as the developing tools and newly is going to migrate to VS.NET. There is a project modified that is to upgrade a big, more than 100,000 lines DOS based program developed by FoxPro 2.x to .NET platform. The design is as previous and the implementation will be reprogrammed. As a duty in my job I should find an answer about the
0
5411
by: sedefo | last post by:
I ran into this Microsoft Patterns & Practices Enterprise Library while i was researching how i can write a database independent data access layer. In my company we already use Data Access Application Block (DAAB) in our .Net projects. We use SqlHelper in SQL based projects, and OracleHelper in Oracle based ones. OracleHelper was not published officially by Microsoft as part of the DAAB but it was given as a helper code in a sample .Net...
32
3228
by: Neil Ginsberg | last post by:
We're using SQL Server 7 with an Access 2000 MDB as a front end with ODBC linked tables. I recently created a new set of tables for the app, and users are complaining that unsaved data is being lost when they move to a new record. This seems to be the case when there are multiple users. When there is a single user using it, we don't seem to have that problem. It seems that we had this problem when we first converted from an MDB back end...
1
9199
by: Andrew Arace | last post by:
I scoured the groups for some hands on code to perform the menial task of exporting table data from an Access 2000 database to Oracle database (in this case, it was oracle 8i but i'm assuming this will work for 9i and even 10g ) No one had what I needed, so I wrote it myself. I Rule. This code isn't going for efficiency, and isn't trying to be dynamic. It doesn't create the table structure in Oracle, that's up to you. (I
9
3313
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for >people moving from power user to developer, but now I suggest you browse >it, >too. It strongly emphasizes ADO, which knowledgeable Microsoft insiders no >longer recommend, and the Access ADP client to SQL Server. He writes well, >and is a good...
3
3493
by: Lyle Fairfield | last post by:
In a recent thread there has been discussion about Data Access Pages. It has been suggested that they are not permitted on many or most secure sites. Perhaps, that it is so, although I know of no site that has this prohibition, and I have uploaded DAPs to various sites and used them from those sites. I do not understand why any site manager would prohibit DAPs. To the best of my knowledge DAPs, as HTM files, are merely hosted on the...
1
2586
by: Johann Blake | last post by:
I am looking for a good solution on how to implement data access in an application so that there is a clean separation between the data access layer, the business layer and the GUI layer. I am looking for a robust solution for a major application. Almost every developer seems to come up with a completely different solution. While many of them are not bad, I really want a very good one. My database is SQL Server 2000 and I am using Visual...
0
14422
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may be greater than 255 characters. 2. I have an access database. I link (not import) to the contents of the excel spreadsheet. In the design view in access, Column A has the data type "memo".
0
9587
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.