Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Findout max character
Message
De
09/04/2008 10:15:55
 
 
À
09/04/2008 09:31:16
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 SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01309251
Message ID:
01309313
Vues:
8
Hi,

this access based on Borislav's approach could also be an option

If automatically generates the between-values, assuming, those values will always lie between 10-19/20-29/30-39/ and so on.
startcode = [11]
SELECT MAX(Code) AS MaxCode;
       FROM test1;
WHERE BETWEEN(INT(VAL(code)),INT(VAL(startcode)),INT(INT(VAL(startcode))/10)* 10 + 9);
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform