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  

Superclass have only a autonumber.. is it possible?



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 7th, 2010, 01:28 PM posted to microsoft.public.access.tablesdbdesign
Micke__1
external usenet poster
 
Posts: 1
Default Superclass have only a autonumber.. is it possible?

Work with IT for many years, and have lately begun looking into DB and MS
Access. So Im quite a rookie in this area.

Ok,
Got a superclass named table1. That class has only one attribute, an ID
which is an auto number.

Then I have to subclasses called table2 and table3. They have the foreign
key to ID, and a couple of other attributes.

When I add a instance to my table2, I want it to add a new auto number in my
superclass, table1. eg a new instance in table1.Is this possible at all?

It seems that I need to first add to table1, and after that use that id in
table2 or table3, and that is not possible here.

any advice here?

br
Micke
 




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


All times are GMT +1. The time now is 12:04 PM.


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