Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Month repartition from two dates
Message
From
13/07/1997 10:40:35
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
11/07/1997 19:48:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00039620
Message ID:
00039748
Views:
39
> SELECT ADDDATE FROM THREAD; > WHERE NOMEMBER=lnNumero AND NOCLIENT=lnWeb; > ORDER BY 1 INTO CURSOR TEMP > > This will be a direct result giving me all the dates for a user in a > specify forum. So, after this SQL, I now have my first date. Doing GO > BOTTOM, will give the last date. > > There I have the first and last date which I then use for the month/year > repartition. > Let's give it a try, say you've filled the end_date Go Top first_o_month=adddate-day(adddate)+1 * this is the day 1 of the beginning month, really last_o_month=GoMonthfirst_o_month,1)-1 do while last_o_month .Signature { margin-top: 12px; color: #666666; } .Signature a { color: #666666; }

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform