[FAQ] Issue with TIME fields.

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Sep 13 19:07:37 CDT 2006


On 9/13/06 6:51 PM, "Ray Veenema" <rayveenema at mac.com> wrote:

Hi Ray,

> Ruslan,
> 
> You could throw an excepetion if the string > 23 characters.

We will throw in MANY cases.
 
> Quick question. If I have a DateTime field in a table would the following code
> cause problems:
> 
> cursor.field("datetime").SetString("2005-09-09 00:00:00:000")
> 
> or is
> 
> cursor.DateTimeField("datetime").Setstring("2005-09-09 00:00:00:000")
> 
> a better solution?

For strings they are equivalents.
And first code will be even little little faster.


Do casting into specific type gives win when you assign NUMERIC values,
Because then you not use VARIANT of REALbasic which is slow.


-- 
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]




More information about the Valentina mailing list