I have two tables PurchaseOrders & Vendors. In my Vendors table the primary key is ID which is an AutoNumber field. I also have InvoiceNumber, InvoiceDate, and InvoiceAmt, my InvoiceNumber has to be defined as a text field since some invoice numbers from vendors contain text.
In my PurchaseOrders table I've created a key called InvoiceIDFK as I want it to be a foreign key from the Invoices table. When I attempt to make a one to many relationship and enforce referential integrity Access is telling me I can't have two different data types.
What is the best way to overcome this? If InvoiceNumber was strictly a number field it would work, but I have invoices with text in them. Any help would be greatly appreciated