Jerid
Your data structure, with "repeating fields" for Vendors, is perfectly
suitable ... if you were using a spreadsheet! Since Access is a relational
database, setting up your table this way makes for much more work for both
you and Access.
Take a look at "normalization" and "relational database design". Jeff
Conrad's site:
http://home.bendbroadband.com/conrad...resources.html
has some great resources.
You may ask "what does this have to do with my situation?". Here's a
question/answer...
If you had to add a 5th Vendor, with your design, you'd have to modify the
table structure, modify any queries using the vendor-concept, modify any
forms, reports, macros, and code. That is a LOT of maintenance.
With a well-normalized design, you would use the fact that the relationship
is one-to-many and have a table that records quote number and VendorID. If
a quote had one vendor, you'd have one record. If a quote had 7 vendors,
the table would have 7 records.
So, back to your question about "blank" vendors ... you don't have any! The
new table design only has as many rows as you DO have vendors.
Regards
Jeff Boyce
Microsoft Office/Access MVP
"Jerid B" <(E-Mail Removed)> wrote in message
news:2AF3ADD4-91D7-4124-B22C-(E-Mail Removed)...
>I have a database with a quote number, Vendor 1, Vendor 2, Vendor 3.
> The query ask me a quote number (Like "*" & [Quote Number] & "*")
> I type in the quote number and get my results.
> However, if Quote number 200 only uses Vendor 1 and Vendor 2 fields
> (Vendor
> 3 is blank because only 2 vendors where contacted) the query comes back
> blank.
> As soon as I fill in Vendor 3 with something it shows it.
> 90% of quotes have 3-4 vendors. Is there a way to tell it to show me
> results
> regardless of blank entries?
>
> Thank you!