U
Ugiliz
Hi I wrote a simple membership/training database in 2004 (Access 2002). The
idea was to have a Master Table with members details and sub tables for
training courses and membership payments. The training front end was working
well but the membership database was in development as my client couldn't
decide what to do.
I've been working abroad since then and, in any event was an amateur at
Access. My client has asked for more advice. Someone else has tampered with
the database, They've removed my autonumber primary key and replaced it with
a simple join using membership number for queries/reports. Without
referential integrity the data is becoming messy. I can't make a one-many
relationship on membership number. I get an error message about referential
integrity. This is a text field and although master and sub table have same
format the actual data is of varying lengths and symbols.
In addition, instead of building on one database and adding front ends for
training, membership fees, etc there are now 2 separate databases containing
(duplicate) information.
For the training part I have added an autonumber ID to the master table. I
can't find an easy way to copy this to the relevant training subtables (many
per member). Any advice on this? I'm doing it by hand but it is tedious!
The next challenge will be to marry the details from training database with
the membership database so that there is just one database. Is there an easy
way to do this - or indeed anyway? Some members will not have not been on
training and will need an ID for the primary key, then I will need to match
and add ID (foreign key) to several subtables on the current membership
database.
Oh dear, what a mess! Hope someone can help me (and I'm doing this for a
charity for free!)
Thanks
idea was to have a Master Table with members details and sub tables for
training courses and membership payments. The training front end was working
well but the membership database was in development as my client couldn't
decide what to do.
I've been working abroad since then and, in any event was an amateur at
Access. My client has asked for more advice. Someone else has tampered with
the database, They've removed my autonumber primary key and replaced it with
a simple join using membership number for queries/reports. Without
referential integrity the data is becoming messy. I can't make a one-many
relationship on membership number. I get an error message about referential
integrity. This is a text field and although master and sub table have same
format the actual data is of varying lengths and symbols.
In addition, instead of building on one database and adding front ends for
training, membership fees, etc there are now 2 separate databases containing
(duplicate) information.
For the training part I have added an autonumber ID to the master table. I
can't find an easy way to copy this to the relevant training subtables (many
per member). Any advice on this? I'm doing it by hand but it is tedious!
The next challenge will be to marry the details from training database with
the membership database so that there is just one database. Is there an easy
way to do this - or indeed anyway? Some members will not have not been on
training and will need an ID for the primary key, then I will need to match
and add ID (foreign key) to several subtables on the current membership
database.
Oh dear, what a mess! Hope someone can help me (and I'm doing this for a
charity for free!)
Thanks