Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Distribution value
Message
From
10/07/2006 07:12:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/07/2006 08:34:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01134753
Message ID:
01134887
Views:
18
>hi all,
>
>i need your help to distribution vlaue between 2 date as
>
>if my value =$100 and i want to distribution to 12 months start at 10/07/2006 to 10/07/2007 , from 10/07/2006 to 31/07/2006 value=5.833,
>from 01/08/2006 to 31/08/2006=8.333 ,month 9=8.333 to month6/2007=8.333,
>from 1/07/2007 to 10/07/2007 value=2.5000... this is for 1 year,
>
>but i need to do that between 2 date ex.. for 6 month , 8 ,10, 4 14,16 months or for 2 years? i need it to distribution as a bove...
>
>many yers ago i do that via complex and long code for 1 year only as under..

Check Re: Divide value Thread #1134849 Message #1134886
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform