MIDRANGE dot COM Mailing List Archive



MIDRANGE-L » January 2013

Re: create function that excepts and returns a date



im using this function as UDF. I followed the documentation examples on parm definitions. Unless i can ignore that.
On 01/21/2013 02:35 PM, rob@xxxxxxxxx wrote:
You make this too hard
I think it should be as easy as
d SQ_GETDATE...
d Pr dateout d
d datein D
d datefmt 6

return variables from a subprocedure are on the PR/PI line.



Rob Berendt






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2013 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact