smalldatetime overflow error
From: P.S.Bell (pat_at_patbell.co.uk)
Date: 03/23/05
- Next message: Maurice Telkamp: "Re: smalldatetime overflow error"
- Previous message: Guillem: "Re: ADO and ODBC"
- Next in thread: Maurice Telkamp: "Re: smalldatetime overflow error"
- Reply: Maurice Telkamp: "Re: smalldatetime overflow error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 23 Mar 2005 17:22:52 GMT
Delphi 6 using ado tables I am transferring data to a SQL Server
database and am having trouble with datetime fields into
smalldatetime fields - I get "smalldatetime overflow error" I
have tried
smalldatetimefield.AsDate:=datetimetostr(doubledatetimevalue);
and
smalldatetimefield.Value:=Strtodatetime(datetimetostr(doubledate
timevalue));
Presumably I could just subtract a number fomr my doubledatetime
to get it to smalldatetime? Whatever... how do I get around this
problem?
Pat Bell
- Next message: Maurice Telkamp: "Re: smalldatetime overflow error"
- Previous message: Guillem: "Re: ADO and ODBC"
- Next in thread: Maurice Telkamp: "Re: smalldatetime overflow error"
- Reply: Maurice Telkamp: "Re: smalldatetime overflow error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|