> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr
> Sent: Wednesday, 10 August 2005 20:14
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] Failure of UniObjects subroutine call
> 
> We had a similar problem.
> 
> What happened with us, is when we passed a date through,
> it changed the date into American Format and not the 
> format is was given as.
> 
> The way we got around this is when we connect to UniVerse Server,
> execute the command: "DATE.FORMAT ON"

Or have a rule that says "dates passed to UniVerse subroutines must
*ALWAYS* be in internal format", and enforce the rule for external
(UniObjects) callers as well as internal (UV). This makes date
formatting a user-interface issue rather than a back-end problem.  
You will of course need a conversion routine, but that's almost trivial.


Mike

> 
> I now do this as a rule.
> 
> Regards
> Bjorn Behr
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to