Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable
Message
De
25/10/2004 15:16:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/10/2004 15:05:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00954367
Message ID:
00954371
Vues:
17
>I have a table(order) that has a column called oderno, each time a order is placed this value is incremented. I'm using a form with this value(orderno), and it gets updated to the table(order) which has my orders.

This should be done as soon as the order is saved. This should be embedded within a transaction. Thus, if the save fails, incrementing the number in the table of sequences would also be reverted.

> The final thing I want to do is print out the current orderno that I'm working on.

Select the appropriate data, and invoke a report.

HTH,

Hilmar.
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