VISOCO Software  Home | Products | Services | Download | Order | Support | Forum | Resources | Search | About
  RSS feedRSS Feed  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  RegisterRegister   ProfileProfile    Log inLog in 
datetime fields

 
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE
Author Message
kingkee
Guest





PostPosted: Mon May 12, 2003 5:43 pm    Post subject: datetime fields Reply with quote

How do I get the datetime fields/parameters of a storedproc to work? I always get the error message, "invalid argument in datetime encode"?

What's that about then?
Back to top
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Thu May 15, 2003 8:05 am    Post subject: Reply with quote

DataType of parameter must be ftTimeStamp:
Code:

SQLStoredProc.Params[0].AsSQLTimeStamp := DateTimeToSQLTimeStamp(Now);
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE All times are GMT + 2 Hours
Page 1 of 1

 


©VISOCO Software. phpBB by phpBB Group