Hi Mike, Thanks, I'll look at it. Mine would do data ranges and also had options for picking a month, quarter, or year, returning start and end dates.
Perhaps I can adapt yours. Dennis -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mike Byerley Sent: Friday, September 10, 2010 1:48 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Calling a UDF from 7.6 If you want a form based calendar, I have had one in use for many iterations of RBase including 7.6 and 9.x. http://www.byerley.net/Rb7Calendar.zip Even though it says 7.x it is the same in 9.x obviously. It has some features like passing a value to it for the caption and a seed date for initial display, current date in Red, etc. ----- Original Message ----- From: "Dennis McGrath" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Friday, September 10, 2010 1:54 PM Subject: [RBASE-L] - Re: Calling a UDF from 7.6 This was an elaborate date picker (POPDATE.EXE) to enhance DOS. I have a command file wrapper around it to make it dead easy to use. A windows form can do the same work in 7.6. Lots more power there, obviously. I just have to run the form instead of POPDATE if I'm in 7.6 Dennis ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen Sent: Friday, September 10, 2010 12:41 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Calling a UDF from 7.6 Seems to me (I could be wrong, it happens) that some of the old UDF's were replaced with newer functions like ADDDAY and such. -----Original Message----- From: "Mike Byerley" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Fri, 10 Sep 2010 13:27:10 -0400 Subject: [RBASE-L] - Re: Calling a UDF from 7.6 I did a side by side comparison of UDF vs DLCall in 2007 conference: UPDATE mccontact SET contlname = (UDF('@RProperCase.dll', contlname)) UPDATE mccontact SET contlname = (dlcall('RPrpCase.dll', 'RPropCase', contlname)) Both DLLs, the UDF version and the Win32 version (a convesion of the UDF version) were written by me. So, I'm pretty sure if the UDF is written properly, it will work in 76. If the UDF is ever used in-line like the example above, the performance hit is terrific since LoadLibrary gets called every time there is a call to the UDF, so to keep up with the times, I recommend you make the changes to adapt to DLCall. ----- Original Message ----- From: "A. Razzak Memon" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Friday, September 10, 2010 12:41 PM Subject: [RBASE-L] - Re: Calling a UDF from 7.6 > At 12:33 PM 9/10/2010, Dennis McGrath wrote: > >>I have a UDF that works great in RBDOS. >> >>When I try to run the same code in RBWIN 7.6 I get >>ERROR Invalid configuration file (2004) >> >>Any ideas? > > Dennis, > > In R:BASE 7.6 for Windows, you will have to use the > "WINUDF" function to achieve you goal. > > Syntax: > > (WINUDF('exe-name','parameter-list')) > (WINUDF('-exe-name','parameter-list')) > (WINUDF('+exe-name','parameter-list')) > (WINUDF('@dll-name','parameter-list')) > > For complete details and examples: > > HELP | Index | WINUDF > > You may also visit the latest online help: > > http://www.RSyntax.com > > Very Best R:egards, > > Razzak. > >

