I *think* the table has to be done this way. I certainly wouldn't be able to
redesign it as too many process's already use it. It's medical data - the
codes describe a process. Each series of treatment can be coded up to 7
times, but it's done on a priority basis so a C101 procedure maybe one
persons primary treatment code, but someones elses secondary code so it would
appear in the second field for them.
If it can't be done no problem, but it's always woth looking for the quick
way!
Cheers
Matt
From the little bit of information you have given here, I would say that it
does NOT have to be done that way. If your table has a procedure field and a
procedure type field, then you could enter multiple procedures for a given
person and give each one a type. Thus, avoiding the need for the repeating
fields.

Signature
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html
>I *think* the table has to be done this way. I certainly wouldn't be able
>to
[quoted text clipped - 44 lines]
>> >
>> > Matt
Matt D Francis - 17 May 2005 10:30 GMT
True, I'd probably have gone that route with a "primary procedure" checkbox
or something, but as I say the table's already in place and used my many
people/process's so I can't change it - plus we'd have to migrate the
existing data. Cheers for the response though, excellent service, I'll be
back I'm sure!
Matt
> From the little bit of information you have given here, I would say that it
> does NOT have to be done that way. If your table has a procedure field and a
[quoted text clipped - 50 lines]
> >> >
> >> > Matt
John Spencer (MVP) - 17 May 2005 21:02 GMT
IF your values are always
Like "c71*" Or Like "c72*" Or Like "c73*" Or Like "c74*" Or Like "c75*"
You could shorten this a bit and use one value under each column you are searching
Like "c7[1-5]*"
That finds all matches starting with c7 followed by the digit 1 to 5 followed by anything.
> True, I'd probably have gone that route with a "primary procedure" checkbox
> or something, but as I say the table's already in place and used my many
[quoted text clipped - 72 lines]
> > >> >
> > >> > Matt
Matt D Francis - 19 May 2005 10:14 GMT
Much neater, thank-you!
Matt
> IF your values are always
> Like "c71*" Or Like "c72*" Or Like "c73*" Or Like "c74*" Or Like "c75*"
[quoted text clipped - 79 lines]
> > > >> >
> > > >> > Matt