Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Divide 2 records to have percent in additional record
Message
 
 
À
13/06/2001 14:33:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00519000
Message ID:
00519008
Vues:
16
>Hi all,
>
>Two records in one table
>
>table1.dbf
>
>number :
>
>2 first record
>4 second record
>
>2/4 or 0.5 or 50% to newly 3rd record in the same table.
>
>Any source code that leads to the solution would be greatly appreciated ?
>
>Paul
Select table1
Go Top
lnCount1 = number
Skip
lnCount2 = number
Insert Into Table1 (number) Values ( lnCount1/lnCount2 * 100)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform