A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to change properties in a linked table?



 
 
Thread Tools Display Modes
  #1  
Old December 2nd, 2004, 11:45 PM
Robert Johnson
external usenet poster
 
Posts: n/a
Default How to change properties in a linked table?

Hi all. I have several tables in my database and some are linked. I want
to modify Table1, field4 to have a lookup to another table I created
(Table2). However, the Table1will not let me make any changes to any of the
fields saying that you cannot modify a linked table.

So how do I do this?

TIA

Robert


  #2  
Old December 3rd, 2004, 12:34 AM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Thu, 2 Dec 2004 15:45:02 -0800, "Robert Johnson"
wrote:

Hi all. I have several tables in my database and some are linked. I want
to modify Table1, field4 to have a lookup to another table I created
(Table2). However, the Table1will not let me make any changes to any of the
fields saying that you cannot modify a linked table.

So how do I do this?


Short answer: Open the backend database directly and make the change
there.

Longer answer. Don't. Lookup Fields are of *very* limited value and
have many disadvantages:

http://www.mvps.org/access/lookupfields.htm

Instead, create a Form bound to Table1, and put a Combo Box based on
Table2 on the form to edit and display the looked-up value. It is not
necessary to change the table design to do this.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
  #3  
Old December 3rd, 2004, 12:59 AM
Robert Johnson
external usenet poster
 
Posts: n/a
Default


"John Vinson" wrote in message
...
On Thu, 2 Dec 2004 15:45:02 -0800, "Robert Johnson"
wrote:

Hi all. I have several tables in my database and some are linked. I

want
to modify Table1, field4 to have a lookup to another table I created
(Table2). However, the Table1will not let me make any changes to any of

the
fields saying that you cannot modify a linked table.

So how do I do this?


Short answer: Open the backend database directly and make the change
there.

Longer answer. Don't. Lookup Fields are of *very* limited value and
have many disadvantages:

http://www.mvps.org/access/lookupfields.htm

Instead, create a Form bound to Table1, and put a Combo Box based on
Table2 on the form to edit and display the looked-up value. It is not
necessary to change the table design to do this.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps


OK, how do I get the data from the combo box to the field in table1 that I
want to update?

Robert


  #4  
Old December 3rd, 2004, 01:59 AM
Ken Snell [MVP]
external usenet poster
 
Posts: n/a
Default

The field that is to be edited should be in the query that serves as the
form's RecordSource. The combo box should use a Row Source query that
returns the different values that can be selected.

--

Ken Snell
MS ACCESS MVP

"Robert Johnson" wrote in message
...

"John Vinson" wrote in message
...
On Thu, 2 Dec 2004 15:45:02 -0800, "Robert Johnson"
wrote:

Hi all. I have several tables in my database and some are linked. I

want
to modify Table1, field4 to have a lookup to another table I created
(Table2). However, the Table1will not let me make any changes to any

of
the
fields saying that you cannot modify a linked table.

So how do I do this?


Short answer: Open the backend database directly and make the change
there.

Longer answer. Don't. Lookup Fields are of *very* limited value and
have many disadvantages:

http://www.mvps.org/access/lookupfields.htm

Instead, create a Form bound to Table1, and put a Combo Box based on
Table2 on the form to edit and display the looked-up value. It is not
necessary to change the table design to do this.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps


OK, how do I get the data from the combo box to the field in table1 that I
want to update?

Robert




  #5  
Old December 3rd, 2004, 04:09 AM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Thu, 2 Dec 2004 16:59:25 -0800, "Robert Johnson"
wrote:

OK, how do I get the data from the combo box to the field in table1 that I
want to update?


A Combo Box *gets* data from its Rowsource - Table2, or a query
sorting the records in Table2; and it *puts* data from the selected
record into its ControlSource field. If you have a Form based on
table1, just include the field that you want to update in the Form's
recordsource query (it will be there automatically if the table is the
recordsource); just use the Combo Box wizard to set the combo box's
control source to that field. No code or other action is needed.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
  #6  
Old December 3rd, 2004, 04:32 PM
Robert Johnson
external usenet poster
 
Posts: n/a
Default


"Ken Snell [MVP]" wrote in message
...
The field that is to be edited should be in the query that serves as the
form's RecordSource. The combo box should use a Row Source query that
returns the different values that can be selected.

--

Ken Snell
MS ACCESS MVP

"Robert Johnson" wrote in message
...

"John Vinson" wrote in message
...
On Thu, 2 Dec 2004 15:45:02 -0800, "Robert Johnson"
wrote:

Hi all. I have several tables in my database and some are linked. I

want
to modify Table1, field4 to have a lookup to another table I created
(Table2). However, the Table1will not let me make any changes to any

of
the
fields saying that you cannot modify a linked table.

So how do I do this?

Short answer: Open the backend database directly and make the change
there.

Longer answer. Don't. Lookup Fields are of *very* limited value and
have many disadvantages:

http://www.mvps.org/access/lookupfields.htm

Instead, create a Form bound to Table1, and put a Combo Box based on
Table2 on the form to edit and display the looked-up value. It is not
necessary to change the table design to do this.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps


OK, how do I get the data from the combo box to the field in table1 that

I
want to update?

Robert





Thanks for the reply


  #7  
Old December 3rd, 2004, 04:32 PM
Robert Johnson
external usenet poster
 
Posts: n/a
Default


"John Vinson" wrote in message
...
On Thu, 2 Dec 2004 16:59:25 -0800, "Robert Johnson"
wrote:

OK, how do I get the data from the combo box to the field in table1 that

I
want to update?


A Combo Box *gets* data from its Rowsource - Table2, or a query
sorting the records in Table2; and it *puts* data from the selected
record into its ControlSource field. If you have a Form based on
table1, just include the field that you want to update in the Form's
recordsource query (it will be there automatically if the table is the
recordsource); just use the Combo Box wizard to set the combo box's
control source to that field. No code or other action is needed.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps


Thanks for the reply... I understand now how it works.

Robert


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
transpose john Using Forms 1 November 24th, 2004 06:16 PM
Here's a shocker Mike Labosh General Discussion 2 October 26th, 2004 05:04 PM
Table Wizard Does Not Set Relationship if Foreign Key and Primary Key Name Do Not Match Exactly in Case. HDW Database Design 3 October 16th, 2004 03:42 AM
Autonumber Ally H. General Discussion 7 August 27th, 2004 04:51 PM
resize table from A4 size to A5 ims New Users 3 June 9th, 2004 01:05 AM


All times are GMT +1. The time now is 07:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.