473,480 Members | 1,852 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Access Application For adding/editting SQL Records

I have zero experience with ODBC. If I have an Access frontend connected to
a SQL Database using ODBC, are the tables connected like a frontend/backend
Access database where the the tables you see in the frontend are only
"copies" of the tables in the backend? Or ar the tables "real" tables
connected to the SQL tables in some manner? If the latter, can an Access
table have more fields than the SQL table it is linked to?

The reason for my question is that I need to create an Access application
that can add new records and edit existing records in a table in a SQL
database. The records in the SQL table are related to three other SQL tables
but no data entery is needed in these three tables. So the Access
application needs to include all four tables but only provide for data entry
in one of the tables. The interrelationship between the four tables is very
poor and makes data entry to the one table very messy. Adding a couple of
fields in one of the tables and a new primary key in another table in the
Access application, would make data entry very simple. This means though
that the tables in the Access application are not duplicates of the
corresponding SQL tables. Can this be done this way?

Thanks!
Mar 8 '08 #1
2 3717
Steve wrote:
I have zero experience with ODBC. If I have an Access frontend
connected to a SQL Database using ODBC, are the tables connected like
a frontend/backend Access database where the the tables you see in
the frontend are only "copies" of the tables in the backend? Or ar
the tables "real" tables connected to the SQL tables in some manner?
If the latter, can an Access table have more fields than the SQL
table it is linked to?
You seem to be making a distinction without a difference. In both cases the
links are connected to the real tables in the back end. It does not matter
if it is an MDB link or an ODBC link. That being the case then no, the
number of fields in the link is always the number of fields in the remote
table.
The reason for my question is that I need to create an Access
application that can add new records and edit existing records in a
table in a SQL database.
Then us an ODBC link.
The records in the SQL table are related to
three other SQL tables but no data entery is needed in these three
tables.
So don't link to those tables.
So the Access application needs to include all four tables
but only provide for data entry in one of the tables. The
Why does it need to link to all four if you wil only be editing one? If you
want to SEE data from the other tables then this would make sense.
interrelationship between the four tables is very poor and makes data
entry to the one table very messy.
You will have to explain this statement.
Adding a couple of fields in one
of the tables and a new primary key in another table in the Access
application, would make data entry very simple. This means though
that the tables in the Access application are not duplicates of the
corresponding SQL tables. Can this be done this way?
You cannot add fields to a link. You could have a separate local table in
the Access file that relates to the link one to one and use that for the
additional fields.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com

Mar 8 '08 #2
Thanks, Rick, for the quick response! Your response answers my question
completely.

"Rick Brandt" <ri*********@hotmail.comwrote in message
news:hd*******************@newssvr11.news.prodigy. net...
Steve wrote:
>I have zero experience with ODBC. If I have an Access frontend
connected to a SQL Database using ODBC, are the tables connected like
a frontend/backend Access database where the the tables you see in
the frontend are only "copies" of the tables in the backend? Or ar
the tables "real" tables connected to the SQL tables in some manner?
If the latter, can an Access table have more fields than the SQL
table it is linked to?

You seem to be making a distinction without a difference. In both cases
the links are connected to the real tables in the back end. It does not
matter if it is an MDB link or an ODBC link. That being the case then no,
the number of fields in the link is always the number of fields in the
remote table.
>The reason for my question is that I need to create an Access
application that can add new records and edit existing records in a
table in a SQL database.

Then us an ODBC link.
>The records in the SQL table are related to
three other SQL tables but no data entery is needed in these three
tables.

So don't link to those tables.
>So the Access application needs to include all four tables
but only provide for data entry in one of the tables. The

Why does it need to link to all four if you wil only be editing one? If
you want to SEE data from the other tables then this would make sense.
>interrelationship between the four tables is very poor and makes data
entry to the one table very messy.

You will have to explain this statement.
>Adding a couple of fields in one
of the tables and a new primary key in another table in the Access
application, would make data entry very simple. This means though
that the tables in the Access application are not duplicates of the
corresponding SQL tables. Can this be done this way?

You cannot add fields to a link. You could have a separate local table in
the Access file that relates to the link one to one and use that for the
additional fields.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com

Mar 8 '08 #3

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

Similar topics

9
6481
by: Noesis Strategy | last post by:
My firm is creating a database that profiles (about 100) companies in various sectors. Each profile is about 10 pages long with perhaps 150 parameters. Some of the parameters will contain a half...
7
1792
by: nospam | last post by:
Am I trying to do something that is impossible with access 97? I want to write an address book application. I have exported (from a Casio BOSS organiser) all my contact information and it is...
9
2674
by: MacDermott | last post by:
I have an Access MDB which instantiates a class in a custom DLL, manipulates it for a while, then sets it equal nothing. The MDB does other things,too, and generally behaves itself as desired....
49
14275
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
6
1776
by: David Sullivan | last post by:
Hi I have a problem with a database where certain users are closing access (by clicking on the X in top right-hand corner) instead of using a command button before they fill in all relevant...
55
3484
by: AnandaSim | last post by:
I just had a google through this NG but have not seen mention of Erik Rucker's blog entry and the new Jet: http://blogs.msdn.com/access/archive/2005/10/05/477549.aspx mentioned by Mike...
46
3786
by: Adam Turner via AccessMonster.com | last post by:
If I had a field called "Name" in an Access table "Contact Info", and the field contained VBScript... Function Main(rstFields) Main = rstFields.Item("FirstName").Value End Function 1. How do...
15
4560
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
4
12410
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
0
6912
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...
1
6744
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...
0
6981
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5348
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4790
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...
0
3000
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...
0
2989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1304
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
188
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...

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.