Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create calendar from days?
Message
 
 
To
06/01/2003 13:34:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00738461
Message ID:
00738477
Views:
22
Chris,

If you want to use a grid to display this, you can create a cursor with seven columns (one per day) and scan your real table and make the appropriate column value assignments.

You can also create a gridwork of other controls dynamically and arrange them on the form in whatever calendar layout you want. I did an app back in VFP3 that did this, and it worked pretty well. It displayed a rolling 6 months worth of vacation/sick/reprimand data for union employees.

>I have a table with one record = one day. Is there an easy way to present the data in a calendar lookalike fasion in a grid? I don't plan to do direct data entry into the grid, but may want to allow doubleclick() actions, so I'd have to be able to identify indivdual days. And how would it cope with absent records(Holidays)?
>
>The previous version of this app stored one record = one week; the calender interface was easy to do and worked well, it had other issues though.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform