Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable
Message
From
25/10/2004 15:16:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/10/2004 15:05:09
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00954367
Message ID:
00954371
Views:
16
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform