Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I find out the missing ticket ?
Message
From
30/07/2001 08:22:03
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
30/07/2001 08:07:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00537118
Message ID:
00537125
Views:
13
>I have a set of record with the running
>ticket number. Can the Crystal report or foxpro report find out the missing ticket number from running ticket number ? How?
>
>Any coding or help will appreciate. Thanks

Carmen,

For example, rre you asking can something be written in Foxpro that would find that the value 603 as missing from the list below?

601
602
604
605
606

The answer is yes. You could Scan through the table and check if the next records value was equal to 1 more than the previous (assuming it is ordered by the field that holds the value) then send that to another table, cursor, array, etc. I'll write a code example if this is what your looking for.

Regards, Renoir
Previous
Reply
Map
View

Click here to load this message in the networking platform