As BruceM has pointed out, there's a very good chance that your table
structure more closely resembles a spreadsheet than a relational database
table.
Access is optimized for well-normalized data.
In your situation, it sounds like you have [Customers] and
[CustomerInvoices]. Without a better understanding of your specific
situation, and knowing only those two, your table structure could be (and
would help make better use of Access by being) something like:
tblCustomer
CustomerID
FName
LName
CustomerCode
... (other customer-specific info)
trelCustomerInvoice
CustomerInvoiceID
CustomerID (this is considered a "foreign key", pointing back to the
record of the customer who "owns" this invoice)
InvoiceDate
... (other invoice-specific info)
Note that this assumes you can have zero, one, or many invoices per
customer.
If you'll post more detailed description of what you're working on, folks
here may be able to offer more specific suggestions.
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
ramudo said:
Thank you, Jeff Boyce, for making that clear to me. It is very apparent
that
I have very little experience in Access. I am using a form to input
invoice
data into a table. What I meant by reusing the data is that if when I
clicked the Add Record button, the customer code and customer name would
remain on the form so that I would not need to select them again, being
that
I have multiple invoices for each customer. All other fields would clear.
Thank you again for your help.
.