Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Algorithm for missing dates.
Message
 
 
To
30/07/2009 18:51:34
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01415572
Message ID:
01415584
Views:
54
Chris,

Null becomes "." if I understand your string. And a simple scan/endscan with a nvl( WhateverFieldGivesYourLetters, "." ) should work.

>Guess I didn't explain well or ask the question right. Getting the dates to/from SQL was the easy part. The hard part is converting it all to a string that properly adds periods for the missing(holiday and weekend) dates.
>
>Your solution would give me a cursor that includes missing dates... halfway there. Walking that cursor could work, but I have to solve another issue with skipping/ignoring completely empty weeks.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform