Re: Swap data in multiple fields between 2 records
- From: Agnelo Fernandes <AgneloFernandes@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 28 Sep 2008 06:16:01 -0700
Hi Rob,
Thanks for the help. I understand now the basic concept to swap details
between 2 records as long as their tables are related.
However, as u suggested - after I insert the new 'PersonID' inorder to
replace the the existing candidate - should I then press 'refresh data' and
will the details of the replaced candidate be swapped with the shifted
candidate without entering the personID at the other end .
I hope it makes sense.
"Rob Parker" wrote:
If you're designing your database correctly, there should be no problem with.
this, because the details for each person will be in a separate table from
the details of people attending courses. That table will only contain a
single field (eg. PersonID) identifying the person attending the course, and
when you change that to the PersonID from the table containing all people,
everything else automatically follows. If that's not what's happening, then
I strongly suggest that you go and do some reading on relational databases
and table normalisation, because you've got it wrong, and you need to
redesign your database structure. This should help:
http://www.accessmvp.com/JConrad/accessjunkie/resources.html#DatabaseDesign101
In particular, follow the links to articles about database normalization.
HTH,
Rob
"Agnelo Fernandes" <Agnelo Fernandes@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:2A92D3C0-9B7D-4BEA-B9AE-66D800474242@xxxxxxxxxxxxxxxx
I am designing a database for candidates attending a course in a given
year.
The list of candidates coming on given day is prefixed. Say for a
partiular
course 'Foundation Course' a person X scheduled to attend on 21st March is
swapping with a person Y who was schedules on 30th march.
Information of person X (such as his college, contact details, etc) is on
record A and information of person Y is on record B.
I need to swap X and Y with all their details (i.e fields) between the 2
records.
Can anyone help me?
- Follow-Ups:
- Re: Swap data in multiple fields between 2 records
- From: Rob Parker
- Re: Swap data in multiple fields between 2 records
- References:
- Swap data in multiple fields between 2 records
- From: Agnelo Fernandes
- Re: Swap data in multiple fields between 2 records
- From: Rob Parker
- Swap data in multiple fields between 2 records
- Prev by Date: Re: Sounds
- Next by Date: Re: Dlookup returns null.
- Previous by thread: Re: Swap data in multiple fields between 2 records
- Next by thread: Re: Swap data in multiple fields between 2 records
- Index(es):
Relevant Pages
|
Loading