I have month and listview control in the form
If i select the month, the listview display the date in the column header.
For Example
If i select the Month 02/2009
Then ListView Should display Like this
01, 02, 03 .... 31 (List View Column Header)
How to do this?
You can get the number of days in the month for a given date using a combination of
DateDiff()andDateAdd().This works out the difference in days between your data and the date 1 month on.
This value can then be used in a standard
For/Nextloop to add columns to your list control.