James
I believe one of the reasons you are running into issues is that you are
"trying to drive nails with a chainsaw". A single spreadsheet might be
how you'd handle this in Excel, but in a relational database, you'd use
one table for each "thingie", and relate them together via
primary-foreign keys.
If I'm understanding your situation, one Title (I believe this is your
"DVD") can include multiple discs, and each Disc can contain multiple
Episodes. I would use one table for the Title (sorry, I named it "DVD"
before thinking enough), one for the discs (to show which Title they
belong to ... like children to a parent), and one table for the Episodes,
to show which disc they belong to.
Regards
Jeff Boyce
Microsoft Office/Access MVP
JamesJ said:
My tblDvd has 4 fields:
DvdID (autonumber)
DvdMovieTitle
DvdMovieTypeID (number to match lookup table for filtering)
DvdSynopsis
I'm a bit confused about trelDisc and trelEpisode.
These are tables? and I need to create relationship with
DVD_ID---DVD_ID
DiscID---DiscID
Thanks much,
James
Both John and I have pointed you in the direction that could alleviate
the problem you're seeing ... by not using that approach!
If you elect to continue stuffing a memo field rather than using one
record for each description, you can expect to have to keep developing
work-arounds. Access expects well-normalized data, and it doesn't
sound like your table structure is well-normalized.
The example you provided could be (alternatively) structured something
like (untested):
tblDVD
DVD_ID
DVD_Title
trelDisc
DiscID
DVD_ID (the 'parent')
?other disc-related data
trelEpisode
EpisodeID
DiscID
EpisodeNumber
EpisodeTitle
EpisodeDescription
With this design, I can envision finding all the descriptions
([EpisodeDescription] for the DVD entitled "X-Files - Season 1", no
matter how many discs it is spread across.
Good luck!
Regards
Jeff Boyce
Microsoft Office/Access MVP
I remember Dragnet.
I don't think the episode titles and descriptions are actually two
billion bytes.
I also have successfully copied and pasted all episodes of a tv
series - X-Files
season 1. Only problem is at this time I'm unable to make changes to
the data
in the memo field. Keep getting that error.
Again, when I type them in manually I don't get the error.
Maybe I'll just put the episode titles in the memo field.
Thanks much for the assistance and sorry 'bout my tirade,
James
On Thu, 30 Jul 2009 21:32:57 -0400, "JamesJ"
<jjy@darwin_roadrunner.com>
wrote:
Nothing to do with parent/child.
A tv series season has say 5 discs with 4 episodes on each disc.
Originally I created 5 records (one for each disc) with 4 episode
descriptions in each record
that I put into the memo field.
Instead of having 5 records I want to make 1 record and in the memo
field
have: Disc 1, with the
4 episode descriptions, Disc 2 with the 4 episode descriptions and
so on
all in the memo field.
But, after pasting the existing descriptions from the existing
records the
memo field gets corrupted.
Am I making sense?
Your actions make sense... but your table structure doesn't!
If you want to be able to search for a description and identify which
episode
had the text for which you're searching, you're defeating your own
purpose by
creating one enormous memo field for the entire season. You'ld do
much better
to have a set of related tables: Shows (e.g. "Dragnet"); Seasons
(e.g. 1962);
Episodes (e.g. 5). The episode description would be in a single
record in the
Episodes table.
(Yes, I'm showing my age <g>)
You'll still have trouble if in fact your indefagitable fingers are
indeed
typing over TWO BILLION BYTES of description... that's hundreds of
books
worth, and your database will crash regardless of whether this is in
one memo
field in one record or in scores of smaller memo fields in scores of
records.
How big is your database compacted?
I think you're right, there is a bug - but it has to do with copy and
pasting
data. I've heard of (and experienced) multiple problems with entering
data in
that manner.