Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select query to get max value
Message
 
 
À
29/07/2005 10:34:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01036983
Message ID:
01036988
Vues:
7
>I have the following field: imgFileName
>
>table name is OCRData.dbf
>
>i have the filenames as follows:
>F1GSENT1
>F1GSENT2
>F1GSENT3
>F1GSENT4
>F1GSENT5
>
>
>If i want to get the max value for the filename which has(starting string) F1GSENT it should give me result as 5.
>
>Can you please tell me how i can get Max Value for the field imgFileName with this filename(F1GSENT).
>
>Thank you very much for the information.

Here we go again. What's you definition of 'Max Value' for imgFileName ? Is it the last name in the sort order or the name with the biggest number after 'F1GSENT'? Anyway it was covered in Re: Delete query where condition for a char field greater th Thread #1036736
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform