Re: Combination of fields must be unique
- From: "Seth" <Seth@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 10 Jul 2005 18:17:01 -0700
Jeff, I hope this explains it better:
I am developing a database to keep track of test reports.
All test reports are available as a hard copy.
Some of these test reports are available as PDF.
If a report is available as a PDF there could be two files Report and Photo
attachment.
I can’t set the fields as required, as there is not always a PDF report. And
if there is a PDF report there is not always a photo attachment.
In my table I have two fields PdfReport and PdfPhotos.
The user enters the path and file name using an open file dialogue box.
I want to ensure that any file is only entered into the database only once,
wether it is into PdfReport or PdfPhotos.
Thanks for your help,
Seth
"Jeff Boyce" wrote:
> Seth
>
> I'm not clear on your requirements...
>
> You want Field1 to be "unique", but no value must be entered. So, if in a
> couple rows you had no value entered in Field1, you'd have two rows with
> Nulls in Field1 -- I don't believe these are unique.
>
> Ditto for Field2.
>
> And your comment:
>
> > But I am still able to enter the same value in both Field1 and Field2
>
> seems to imply that you also want to ensure that whatever is entered in
> Field1 is never entered in Field2 for the same record.
>
> Perhaps if you explained a bit more about what you hope to accomplish with
> this arrangement, rather than how you are trying to do (something
> undefined)...?
>
> Good luck
>
> Jeff Boyce
> <Access MVP>
>
>
.
- Follow-Ups:
- Re: Combination of fields must be unique
- From: Craig Alexander Morrison
- Re: Combination of fields must be unique
- From: Craig Alexander Morrison
- Re: Combination of fields must be unique
- From: tina
- Re: Combination of fields must be unique
- References:
- Combination of fields must be unique
- From: Seth
- Re: Combination of fields must be unique
- From: Jeff Boyce
- Combination of fields must be unique
- Prev by Date: Re: Field not Visible
- Next by Date: Educational disease database
- Previous by thread: Re: Combination of fields must be unique
- Next by thread: Re: Combination of fields must be unique
- Index(es):
Relevant Pages
|