VRB date in datacontrol

Damon Pillinger daisychain at iinet.net.au
Tue Jul 5 17:50:45 CDT 2005


Hi Ruslan,

Have had some success, the first execute below is fine and does not cause a error but when I try to set the separator in the second execute

  valdb.sqlExecute ("SET PROPERTY DateFormat OF DATABASE TO 'kYMD' ")
  if valdb.error then msgbox valdb.ErrorMessage
  
  valdb.sqlExecute ("SET PROPERTY DateSep OF DATABASE TO '-' ")
  if valdb.error then msgbox valdb.ErrorMessage
  
the error "Invalid Parameter Value" is returned and the date is 0-00-00


DateFormat as EVDateFormat // specifies the format of date.
DateSep as String // separator for date, e.g. ‘/’

I read in the manual that the default is / but when I change the date to 2005/12/15 I still get 0-00-00 ?


Thanks

Best Regards

Damon L. Pillinger
Jensen 2005 by Daisychain
www.daisychain.no-ip.biz
Phone : 03 9532 1220
Fax : 03 9532 1280


-----Original Message-----
From: valentina-bounces at lists.macserve.net [mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan Zasukhin
Sent: Tuesday, 5 July 2005 5:30 PM
To: valentina at lists.macserve.net
Subject: Re: VRB date in datacontrol

On 7/5/05 10:22 AM, "Damon Pillinger" <daisychain at iinet.net.au> wrote:

> PS
> If I use
> 
>   valdb.sqlExecute ("SET PROPERTY DateTimeFormat of Database TO 'kYMD'")
>   if valdb.error then msgbox valdb.ErrorMessage

Ak,

I see in sources it has name DateFormat

I will fix this now to DateTimeFormat


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list