Hey pplz!
Im a noobie at all this but creating one of my first databases.
Pretty much I have
Table Patients
Table Scripts
(For a pharmacy)
Patients have a ScriptID field which relates to ScriptID (Autonumber) primary key of the scripts table.
Scripts table has
Name of Drug
Date of dispensing
Cost of Drug
Now the issue is that if I create a script for a patient with the same Name, its ok, same date its ok, but if the COST is the same it comes up with "changes would create duplicates in the index, primary key or relationship"
If I make one cost $23.00 and the next 23.01 then I have no issue... so that is my current work around, but how can I let there be same entries (even though different scriptIDs... which I would have thought would stop this problem...
No items are being indexed expect primary key, and changing the cost to Indexed "duplicates OK" doesn't fix the issue either.
Please help its driving me nuts!