Thank you Mike I can use that one, I will have to do a little bit of adoption for Date format YYYY/MM/DD and the fact that January is called Januari in Swedish but that should be easy stuff (I hope)
Gunnar Ekblad Kontema IT AB H�stholmsv�gen 32 S-131 30 NACKA 070 545 50 38 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MikeB Sent: den 29 november 2004 16:59 To: RBG7-L Mailing List Subject: [RBG7-L] - Rb7 Form Based Calendar I know there are myriad ways to get a date from a calendar control in RBase, but I wanted to do something that behaved a bit more under my control, so a made a calendar based form in Rb7. It's standard behavior differs from the controls only that it is a complete form, so you can modify it any way you want. Conceivably, you could use it as a basis for an appointment scheduler or such. The form arguments take the name of the Caption to be used, the variable name to receive the return value, and the Seed date (the starting date to display). It has buttons to advance and retard the Month Values and Year Values as well as Drop downs for both Month and Year. Whenever the Year is changed, the dropdown is refreshed with +5 and -5 year values from the new Year date. Anyway, it's going to be well utilized in my changeover of my own internal application and I think it may have some utility value to others, so here is the link: http://www.byerley.net/Rb7Calendar.zip There is a Caldemo.rmd file in the zip to call it with explanation of the way arguments are passed...
