Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uniqueness of index error
Message
De
08/09/1999 15:13:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00262089
Message ID:
00262546
Vues:
13
Yes. I see, thank you. Now here's my next question if you could be so kind. I understand that you can't have duplicate records, but I thought you could do this: the index is on ProductName+RevisionNumber. In other words, I have a record for each product in a 'main' table. if there is a change to the product, it's Revision Number is incremented and a new record is added. Therefore, if you browsed for a particular product, you might see:
ProductABC - Revision 0, ProductABC - Revision 1, ProductABC - Revision 2
so, there are (in this example) three records where the product name is duplicated, but the Revision number is different. If I create an index on both fields, it still gives the "Uniqueness " error. Is there a better way to do what I'm trying to do? I have Product General information and submit, review, and approval dates in the 'main' file, and it works with three other tables that contain Technical information, Component or Formula information, and Material Safety Data Information....follow me?
"Live Well, Laugh Often, Love Much..."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform