Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Divide 2 records to have percent in additional record
Message
 
 
To
13/06/2001 14:33:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00519000
Message ID:
00519008
Views:
15
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform