Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding Last Dash Number
Message
 
À
16/07/2007 09:46:22
Steven Dyke
Safran Seats USA
Texas, États-Unis
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 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01240664
Message ID:
01240749
Vues:
11
>I need a Select statement to find the last dash number in a series of partnumbers. Each record in my table has a unique sequence number. The table contains all partnumbers. The greatest sequence number represents the last partnumber that was entered and thus will be the last or greatest dash number for that series. So I need to isolate a series of partnumbers, records where the first six numbers are the same, then figure out from the dash suffixs(-401, -403, -405) which is the greatest.
>
>The table is accessed remotely by SPT.
>
>This is needed to control what the next dash number the user can create is.

Can you post some simple data and desired result?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform