Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple field rule???
Message
De
29/09/2005 11:24:00
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/09/2005 10:55:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01054488
Message ID:
01054514
Vues:
27
>I have created a large .dbc database and am trying to add a numeric field to 1 table and have this field automatically create a "Transaction Number" and each time a record is added that the table auto creates the next logical "Transaction Number". Basically like an invoice number but not for an invoice.
>
>
>Thanks for your help in advance
>
>Fred Watt

You can have a function that gets the next number from a sequence table, and increments it in the sequence table.

If you are interested, I can search my version of this function, and post it.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform