V4RB and dates
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Feb 9 10:59:45 CST 2004
on 2/9/04 10:19 AM, Fred.Stephenson at
Fred.Stephenson at communication-unltd.com wrote:
> I had the same problem on Friday and gave it a miss for the weekend.
> I just found the problem, at least for me
>
> cursor.field("date").setstring(d.shortdate) is the culprit
>
> cursor.datefield("date").set(d.year,d.month,d.day) is the solution
>
> looks like setstring is broken.
>
> Is this what you were doing Cindy??
Fred,
To get setstring() work correctly,
You must make sure that db.DateFormat is EXACTLY
the same as string that you enter.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list