Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generating Grid
Message
From
01/09/2002 08:19:56
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00695743
Message ID:
00695765
Views:
17
Venelina, (cute name by the way) to include the last...

Thanks for the assistance.

Here's what I have but the code blows up on the the line where you are issuing the FOR. Saying it's not a numeric expression:
Am I doing something wrong?

local MyStartDate, CurrentGridColumnCount

mystartdate = {08/12/2002}

LastDayOfMonth = GoMonth(date(year(MyStartDate), month(MyStartDate), 1),1) - 1
For CurrentDay = MyStartDate to LastDayOfMonth
If !InList(Dow(CurrentDay), 6, 7)
CurrentGridColumnCount = CurrentGridColumnCount + 1
ThisForm.Pageframe1.Page1.Grid1.AddColumn(CurrentGridColumnCount)
ThisForm.Pageframe1.Page1.Grid1.Columns(CurrentGridColumnCount).Header1.Caption = Transform(CurrentDay)
* place here all your setting
endif
EndFor

By the way, can I ask what your name means?
Thanks in Advance.

J. Turner
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform